]>
Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - EventTZ.pm
d762aa01586df19eee585300217d1751865262f5
1 package DBICTest
::Schema
::EventTZ
;
5 use base qw
/DBIx::Class::Core/;
7 __PACKAGE__-
>load_components(qw
/InflateColumn::DateTime/);
9 __PACKAGE__-
>table('event');
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 },
17 __PACKAGE__-
>set_primary_key('id');
This page took 0.040467 seconds and 3 git commands to generate.