Commit | Line | Data |
---|---|---|
30a8108e | 1 | package DBICTest::Schema::Producer; |
2 | ||
3 | use base 'DBIx::Class::Core'; | |
4 | ||
5 | __PACKAGE__->table('producer'); | |
0009fa49 | 6 | __PACKAGE__->add_columns( |
7 | 'producerid' => { | |
8 | data_type => 'integer', | |
9 | is_auto_increment => 1 | |
10 | }, | |
11 | 'name' => { | |
12 | data_type => 'varchar', | |
13 | }, | |
14 | ); | |
30a8108e | 15 | __PACKAGE__->set_primary_key('producerid'); |
16 | ||
17 | 1; |