adding failing test to make sure insert doesnt call set_column
[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
6ec7d1bb 11 BindType
4e298a80 12 Employee
5ce32fc1 13 CD
4740bdb7 14 FileColumn
370f2ba2 15 Genre
9c2c91ea 16 Link
17 Bookmark
5ce32fc1 18 #dummy
19 Track
20 Tag
21 /,
22 { 'DBICTest::Schema' => [qw/
23 LinerNotes
4f6386b0 24 Artwork
d5633096 25 Artwork_to_Artist
4f6386b0 26 Image
27 Lyrics
28 LyricVersion
5ce32fc1 29 OneKey
30 #dummy
31 TwoKeys
9fcda149 32 Serialized
5ce32fc1 33 /]},
34 (
35 'FourKeys',
3bd6e3e0 36 'FourKeys_to_TwoKeys',
5ce32fc1 37 '#dummy',
38 'SelfRef',
5efe4c79 39 'ArtistUndirectedMap',
bab77431 40 'ArtistSourceName',
b1fb2c94 41 'ArtistSubclass',
7411204b 42 'Producer',
43 'CD_to_Producer',
5ce32fc1 44 ),
dda9af55 45 qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/,
a7e65bb5 46 qw/Collection CollectionObject TypedObject Owners BooksInLibrary/,
6e6b37a7 47 qw/ForceForeign Encoded/,
5ce32fc1 48);
a02675cd 49
d6c79cb3 50sub sqlt_deploy_hook {
51 my ($self, $sqlt_schema) = @_;
52
458e0292 53 $sqlt_schema->drop_table('dummy');
d6c79cb3 54}
55
a02675cd 561;