Commit | Line | Data |
---|---|---|
50041f3c | 1 | package DBICTest::Plain::Test; |
2 | ||
3 | use base 'DBIx::Class::Core'; | |
4 | ||
5 | __PACKAGE__->table('test'); | |
6 | __PACKAGE__->add_columns( | |
7 | 'id' => { | |
8 | data_type => 'integer', | |
9 | is_auto_increment => 1 | |
10 | }, | |
11 | 'name' => { | |
12 | data_type => 'varchar', | |
13 | }, | |
14 | ); | |
15 | __PACKAGE__->set_primary_key('id'); | |
16 | ||
17 | 1; |