Merge 'trunk' into 'sqla_1.50_compat'
[dbsrgits/DBIx-Class-Historic.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
4f6386b0 23 Artwork
24 Image
25 Lyrics
26 LyricVersion
5ce32fc1 27 OneKey
28 #dummy
29 TwoKeys
9fcda149 30 Serialized
5ce32fc1 31 /]},
32 (
33 'FourKeys',
3bd6e3e0 34 'FourKeys_to_TwoKeys',
5ce32fc1 35 '#dummy',
36 'SelfRef',
5efe4c79 37 'ArtistUndirectedMap',
bab77431 38 'ArtistSourceName',
b1fb2c94 39 'ArtistSubclass',
7411204b 40 'Producer',
41 'CD_to_Producer',
5ce32fc1 42 ),
dda9af55 43 qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/,
a7e65bb5 44 qw/Collection CollectionObject TypedObject Owners BooksInLibrary/,
0da8b7da 45 qw/ForceForeign/,
5ce32fc1 46);
a02675cd 47
d6c79cb3 48sub sqlt_deploy_hook {
49 my ($self, $sqlt_schema) = @_;
50
458e0292 51 $sqlt_schema->drop_table('dummy');
d6c79cb3 52}
53
a02675cd 541;