]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBICTest/Schema/EventTZ.pm
test case for might_have and another minor bug fix
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBICTest / Schema / EventTZ.pm
1 package DBICTest::Schema::EventTZ;
2
3 use strict;
4 use warnings;
5 use base qw/DBIx::Class::Core/;
6
7 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
8
9 __PACKAGE__->table('event');
10
11 __PACKAGE__->add_columns(
12 id => { data_type => 'integer', is_auto_increment => 1 },
13 starts_at => { data_type => 'datetime', timezone => "America/Chicago" },
14 created_on => { data_type => 'timestamp', timezone => "America/Chicago", floating_tz_ok => 1 },
15 );
16
17 __PACKAGE__->set_primary_key('id');
18
19 1;
This page took 0.030043 seconds and 4 git commands to generate.