X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema.pm;h=1681cf5b53adae22f9a19d7a4d6e4fb958faa8e9;hb=aed5b8a46a2e48adeeb790c06906c4d48f190043;hp=6f37ba90709cb2f405ba0c4bd1f509335a33d523;hpb=5efe4c7916e1fb2132c1b73ab4ddddbced317adb;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema.pm b/t/lib/DBICTest/Schema.pm index 6f37ba9..1681cf5 100644 --- a/t/lib/DBICTest/Schema.pm +++ b/t/lib/DBICTest/Schema.pm @@ -1,4 +1,5 @@ -package DBICTest::Schema; +package # hide from PAUSE + DBICTest::Schema; use base qw/DBIx::Class::Schema/; @@ -6,7 +7,11 @@ no warnings qw/qw/; __PACKAGE__->load_classes(qw/ Artist + Employee CD + FileColumn + Link + Bookmark #dummy Track Tag @@ -16,16 +21,29 @@ __PACKAGE__->load_classes(qw/ OneKey #dummy TwoKeys + Serialized /]}, ( 'FourKeys', + 'FourKeys_to_TwoKeys', '#dummy', 'SelfRef', 'ArtistUndirectedMap', + 'ArtistSourceName', + 'ArtistSubclass', 'Producer', 'CD_to_Producer', ), - qw/SelfRefAlias/ + qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/, + qw/Collection CollectionObject TypedObject/, + qw/Owners BooksInLibrary/, + qw/ForceForeign/ ); +sub sqlt_deploy_hook { + my ($self, $sqlt_schema) = @_; + + $sqlt_schema->drop_table('link'); +} + 1;