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