X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema.pm;fp=t%2Flib%2FDBICTest%2FSchema.pm;h=d683a2560892929b5ef94d57231b74ff0af6084d;hb=584713f437ffa9390821a0580ed368aa22fb552e;hp=0000000000000000000000000000000000000000;hpb=d93b1239cb7de482ac79a091d7daa67115596306;p=chaz%2Fp5-DBIx-Class-ResultSet-RecursiveUpdate diff --git a/t/lib/DBICTest/Schema.pm b/t/lib/DBICTest/Schema.pm new file mode 100644 index 0000000..d683a25 --- /dev/null +++ b/t/lib/DBICTest/Schema.pm @@ -0,0 +1,55 @@ +package # hide from PAUSE + DBICTest::Schema; + +use base qw/DBIx::Class::Schema/; + +no warnings qw/qw/; + +__PACKAGE__->load_classes(qw/ + Artist + SequenceTest + Employee + CD + FileColumn + Genre + Link + Bookmark + #dummy + Track + Tag + /, + { 'DBICTest::Schema' => [qw/ + LinerNotes + Artwork + Artwork_to_Artist + Image + Lyrics + LyricVersion + OneKey + #dummy + TwoKeys + Serialized + /]}, + ( + 'FourKeys', + 'FourKeys_to_TwoKeys', + '#dummy', + 'SelfRef', + 'ArtistUndirectedMap', + 'ArtistSourceName', + 'ArtistSubclass', + 'Producer', + 'CD_to_Producer', + ), + qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/, + qw/Collection CollectionObject TypedObject Owners BooksInLibrary/, + qw/ForceForeign/, +); + +sub sqlt_deploy_hook { + my ($self, $sqlt_schema) = @_; + + $sqlt_schema->drop_table('dummy'); +} + +1;