Commit | Line | Data |
c6d74d3e |
1 | package # hide from PAUSE |
2 | DBICTest::Schema::Track; |
a02675cd |
3 | |
4 | use base 'DBIx::Class::Core'; |
5 | |
11b78bd6 |
6 | DBICTest::Schema::Track->table('track'); |
0009fa49 |
7 | DBICTest::Schema::Track->add_columns( |
8 | 'trackid' => { |
9 | data_type => 'integer', |
10 | is_auto_increment => 1, |
11 | }, |
12 | 'cd' => { |
13 | data_type => 'integer', |
14 | }, |
15 | 'position' => { |
16 | data_type => 'integer', |
91b0fbd7 |
17 | accessor => 'pos', |
0009fa49 |
18 | }, |
19 | 'title' => { |
20 | data_type => 'varchar', |
cb561d1a |
21 | size => 100, |
0009fa49 |
22 | }, |
23 | ); |
11b78bd6 |
24 | DBICTest::Schema::Track->set_primary_key('trackid'); |
a02675cd |
25 | |
26 | 1; |