We can now generate our own test schema
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / OneKey.pm
1 package DBICTest::Schema::OneKey;
2
3 use base 'DBIx::Class::Core';
4
5 DBICTest::Schema::OneKey->table('onekey');
6 DBICTest::Schema::OneKey->add_columns(
7   'id' => {
8     data_type => 'integer',
9     is_auto_increment => 1,
10   },
11   'artist' => {
12     data_type => 'integer',
13   },
14   'cd' => {
15     data_type => 'integer',
16   },
17 );
18 DBICTest::Schema::OneKey->set_primary_key('id');
19
20
21 1;