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