More refactoring, prefetch
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Tag.pm
CommitLineData
11b78bd6 1package DBICTest::Schema::Tag;
a02675cd 2
3use base qw/DBIx::Class::Core/;
4
11b78bd6 5DBICTest::Schema::Tag->table('tags');
6DBICTest::Schema::Tag->add_columns(qw/tagid cd tag/);
7DBICTest::Schema::Tag->set_primary_key('tagid');
8DBICTest::Schema::Tag->add_relationship(
9 cd => 'DBICTest::Schema::CD',
a02675cd 10 { 'foreign.cdid' => 'self.cd' }
11);
12
131;