1 package DBICTest::Schema::Event;
3 use base qw/DBIx::Class/;
5 __PACKAGE__->load_components(qw/InflateColumn::DateTime PK::Auto Core/);
7 __PACKAGE__->table('event');
9 __PACKAGE__->add_columns(
10 id => { data_type => 'integer', is_auto_increment => 1 },
11 starts_at => { data_type => 'datetime' }
14 __PACKAGE__->set_primary_key('id');