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