We can now generate our own test schema
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / TwoKeys.pm
1 package DBICTest::Schema::TwoKeys;
2
3 use base 'DBIx::Class::Core';
4
5 DBICTest::Schema::TwoKeys->table('twokeys');
6 DBICTest::Schema::TwoKeys->add_columns(
7   'artist' => { data_type => 'integer' },
8   'cd' => { data_type => 'integer' },
9 );
10 DBICTest::Schema::TwoKeys->set_primary_key(qw/artist cd/);
11
12 1;