Remove the length limit on identifiers - it doesn't belong in DBIx::Class
[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/,
a7e65bb5 39 qw/Collection CollectionObject TypedObject Owners BooksInLibrary/,
0da8b7da 40 qw/ForceForeign/,
5ce32fc1 41);
a02675cd 42
d6c79cb3 43sub sqlt_deploy_hook {
44 my ($self, $sqlt_schema) = @_;
45
458e0292 46 $sqlt_schema->drop_table('dummy');
d6c79cb3 47}
48
a02675cd 491;