X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema.pm;h=319ffec97c59d5853d06a6b0ba7d750f95eec673;hb=1ee9aa728c714ad8e501297e86c1fb513687238c;hp=f2ee2d727102736b3efff9331389bd1ef99d335a;hpb=c6d74d3ead7c87c6c63997b8e39fa638f4851559;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema.pm b/t/lib/DBICTest/Schema.pm index f2ee2d7..319ffec 100644 --- a/t/lib/DBICTest/Schema.pm +++ b/t/lib/DBICTest/Schema.pm @@ -1,4 +1,4 @@ -package # hide from PAUSE +package # hide from PAUSE DBICTest::Schema; use base qw/DBIx::Class::Schema/; @@ -7,13 +7,26 @@ no warnings qw/qw/; __PACKAGE__->load_classes(qw/ Artist + SequenceTest + BindType + Employee CD + FileColumn + Genre + Link + Bookmark #dummy Track Tag + Year2000CDs + Year1999CDs /, { 'DBICTest::Schema' => [qw/ LinerNotes + Artwork + Image + Lyrics + LyricVersion OneKey #dummy TwoKeys @@ -21,13 +34,25 @@ __PACKAGE__->load_classes(qw/ /]}, ( 'FourKeys', + 'FourKeys_to_TwoKeys', '#dummy', 'SelfRef', 'ArtistUndirectedMap', + 'ArtistSourceName', + 'ArtistSubclass', 'Producer', 'CD_to_Producer', + 'Dummy', # this is a real result class we remove in the hook below ), - qw/SelfRefAlias TreeLike/ + qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/, + qw/Collection CollectionObject TypedObject Owners BooksInLibrary/, + qw/ForceForeign Encoded/, ); +sub sqlt_deploy_hook { + my ($self, $sqlt_schema) = @_; + + $sqlt_schema->drop_table('dummy'); +} + 1;