We can now generate our own test schema
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Track.pm
CommitLineData
11b78bd6 1package DBICTest::Schema::Track;
a02675cd 2
3use base 'DBIx::Class::Core';
4
11b78bd6 5DBICTest::Schema::Track->table('track');
0009fa49 6DBICTest::Schema::Track->add_columns(
7 'trackid' => {
8 data_type => 'integer',
9 is_auto_increment => 1,
10 },
11 'cd' => {
12 data_type => 'integer',
13 },
14 'position' => {
15 data_type => 'integer',
16 },
17 'title' => {
18 data_type => 'varchar',
19 },
20);
11b78bd6 21DBICTest::Schema::Track->set_primary_key('trackid');
a02675cd 22
231;