Fix all invocations of _resolve_condition to match the new signature
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / Bookmark.pm
CommitLineData
9c2c91ea 1package # hide from PAUSE
2 DBICTest::Schema::Bookmark;
3
97c96475 4use base qw/DBICTest::BaseResult/;
9c2c91ea 5
6use strict;
7use warnings;
8
9c2c91ea 9__PACKAGE__->table('bookmark');
9c2c91ea 10__PACKAGE__->add_columns(
11 'id' => {
12 data_type => 'integer',
13 is_auto_increment => 1
14 },
15 'link' => {
16 data_type => 'integer',
7fb60fb1 17 is_nullable => 1,
9c2c91ea 18 },
19);
20
21__PACKAGE__->set_primary_key('id');
97c96475 22
23require DBICTest::Schema::Link; # so we can get a columnlist
24__PACKAGE__->belongs_to(
25 link => 'DBICTest::Schema::Link', 'link', {
26 on_delete => 'SET NULL',
27 join_type => 'LEFT',
28 proxy => { map { join('_', 'link', $_) => $_ } DBICTest::Schema::Link->columns },
29});
9c2c91ea 30
311;