Commit | Line | Data |
---|---|---|
11b78bd6 | 1 | package DBICTest::Schema::Tag; |
a02675cd | 2 | |
3 | use base qw/DBIx::Class::Core/; | |
4 | ||
333cce60 | 5 | __PACKAGE__->load_components('PK::Auto'); |
6 | ||
11b78bd6 | 7 | DBICTest::Schema::Tag->table('tags'); |
0009fa49 | 8 | DBICTest::Schema::Tag->add_columns( |
9 | 'tagid' => { | |
333cce60 | 10 | data_type => 'integer', |
0009fa49 | 11 | is_auto_increment => 1, |
12 | }, | |
13 | 'cd' => { | |
14 | data_type => 'integer', | |
15 | }, | |
16 | 'tag' => { | |
17 | data_type => 'varchar' | |
18 | }, | |
19 | ); | |
11b78bd6 | 20 | DBICTest::Schema::Tag->set_primary_key('tagid'); |
a02675cd | 21 | |
22 | 1; |