fix related resultsets and multi-create
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema.pm
CommitLineData
bab77431 1package # hide from PAUSE
c6d74d3e 2 DBICTest::Schema;
a02675cd 3
4use base qw/DBIx::Class::Schema/;
5
5ce32fc1 6no warnings qw/qw/;
7
a02675cd 8__PACKAGE__->load_classes(qw/
5ce32fc1 9 Artist
b829910c 10 SequenceTest
4e298a80 11 Employee
5ce32fc1 12 CD
4740bdb7 13 FileColumn
370f2ba2 14 Genre
9c2c91ea 15 Link
16 Bookmark
5ce32fc1 17 #dummy
18 Track
19 Tag
20 /,
21 { 'DBICTest::Schema' => [qw/
22 LinerNotes
23 OneKey
24 #dummy
25 TwoKeys
9fcda149 26 Serialized
5ce32fc1 27 /]},
28 (
29 'FourKeys',
3bd6e3e0 30 'FourKeys_to_TwoKeys',
5ce32fc1 31 '#dummy',
32 'SelfRef',
5efe4c79 33 'ArtistUndirectedMap',
bab77431 34 'ArtistSourceName',
b1fb2c94 35 'ArtistSubclass',
7411204b 36 'Producer',
37 'CD_to_Producer',
5ce32fc1 38 ),
dda9af55 39 qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/,
a7e65bb5 40 qw/Collection CollectionObject TypedObject Owners BooksInLibrary/,
0da8b7da 41 qw/ForceForeign/,
5ce32fc1 42);
a02675cd 43
d6c79cb3 44sub sqlt_deploy_hook {
45 my ($self, $sqlt_schema) = @_;
46
458e0292 47 $sqlt_schema->drop_table('dummy');
d6c79cb3 48}
49
a02675cd 501;