Constraint/index name fix from rdj
[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
9c2c91ea 14 Link
15 Bookmark
5ce32fc1 16 #dummy
17 Track
18 Tag
19 /,
20 { 'DBICTest::Schema' => [qw/
21 LinerNotes
22 OneKey
23 #dummy
24 TwoKeys
9fcda149 25 Serialized
5ce32fc1 26 /]},
27 (
28 'FourKeys',
3bd6e3e0 29 'FourKeys_to_TwoKeys',
5ce32fc1 30 '#dummy',
31 'SelfRef',
5efe4c79 32 'ArtistUndirectedMap',
bab77431 33 'ArtistSourceName',
b1fb2c94 34 'ArtistSubclass',
7411204b 35 'Producer',
36 'CD_to_Producer',
5ce32fc1 37 ),
dda9af55 38 qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/,
78060df8 39 qw/Collection CollectionObject TypedObject/,
a0024650 40 qw/Owners BooksInLibrary/,
0da8b7da 41 qw/ForceForeign/,
42 qw/LongColumns/,
5ce32fc1 43);
a02675cd 44
d6c79cb3 45sub sqlt_deploy_hook {
46 my ($self, $sqlt_schema) = @_;
47
48 $sqlt_schema->drop_table('link');
49}
50
a02675cd 511;