2650f3e7126f5041a488e98c50448f845e4f6b64
[dbsrgits/DBIx-Class-Journal.git] / t / lib / DBICTest / Schema.pm
1 package # hide from PAUSE
2     DBICTest::Schema;
3
4 use base qw/DBIx::Class::Schema/;
5
6 __PACKAGE__->load_components(qw/+DBIx::Class::Schema::Journal/);
7
8 __PACKAGE__->journal_connection(['dbi:SQLite:t/var/Audit.db']);
9 __PACKAGE__->journal_user(['DBICTest::Schema::Artist', {'foreign.artistid' => 'self.user_id'}]);
10
11 no warnings qw/qw/;
12 DBICTest::Schema->load_classes(
13 qw/
14   Artist
15   CD
16   Track
17 /
18 );
19
20 1;