Commit | Line | Data |
bab77431 |
1 | package # hide from PAUSE |
c6d74d3e |
2 | DBICTest::Schema; |
a02675cd |
3 | |
4 | use base qw/DBIx::Class::Schema/; |
5 | |
5ce32fc1 |
6 | no warnings qw/qw/; |
7 | |
71829446 |
8 | __PACKAGE__->mk_group_accessors(simple => 'custom_attr'); |
9 | |
a02675cd |
10 | __PACKAGE__->load_classes(qw/ |
5ce32fc1 |
11 | Artist |
b829910c |
12 | SequenceTest |
6ec7d1bb |
13 | BindType |
4e298a80 |
14 | Employee |
5ce32fc1 |
15 | CD |
370f2ba2 |
16 | Genre |
9c2c91ea |
17 | Bookmark |
97c96475 |
18 | Link |
5ce32fc1 |
19 | #dummy |
20 | Track |
21 | Tag |
a648ec78 |
22 | Year2000CDs |
1ee9aa72 |
23 | Year1999CDs |
b8b55c8e |
24 | CustomSql |
818ec409 |
25 | Money |
4d4dc518 |
26 | TimestampPrimaryKey |
5ce32fc1 |
27 | /, |
28 | { 'DBICTest::Schema' => [qw/ |
29 | LinerNotes |
4f6386b0 |
30 | Artwork |
d5633096 |
31 | Artwork_to_Artist |
4f6386b0 |
32 | Image |
33 | Lyrics |
34 | LyricVersion |
5ce32fc1 |
35 | OneKey |
36 | #dummy |
37 | TwoKeys |
9fcda149 |
38 | Serialized |
5ce32fc1 |
39 | /]}, |
40 | ( |
41 | 'FourKeys', |
3bd6e3e0 |
42 | 'FourKeys_to_TwoKeys', |
5ce32fc1 |
43 | '#dummy', |
44 | 'SelfRef', |
5efe4c79 |
45 | 'ArtistUndirectedMap', |
bab77431 |
46 | 'ArtistSourceName', |
b1fb2c94 |
47 | 'ArtistSubclass', |
7411204b |
48 | 'Producer', |
49 | 'CD_to_Producer', |
181c0934 |
50 | 'Dummy', # this is a real result class we remove in the hook below |
5ce32fc1 |
51 | ), |
dda9af55 |
52 | qw/SelfRefAlias TreeLike TwoKeyTreeLike Event EventTZ NoPrimaryKey/, |
a7e65bb5 |
53 | qw/Collection CollectionObject TypedObject Owners BooksInLibrary/, |
6e6b37a7 |
54 | qw/ForceForeign Encoded/, |
5ce32fc1 |
55 | ); |
a02675cd |
56 | |
d6c79cb3 |
57 | sub sqlt_deploy_hook { |
58 | my ($self, $sqlt_schema) = @_; |
59 | |
458e0292 |
60 | $sqlt_schema->drop_table('dummy'); |
d6c79cb3 |
61 | } |
62 | |
a02675cd |
63 | 1; |