1 package # hide from PAUSE
2 DBICTest::Schema::Bookmark;
4 use base qw/DBICTest::BaseResult/;
9 __PACKAGE__->table('bookmark');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1
16 data_type => 'integer',
21 __PACKAGE__->set_primary_key('id');
23 require DBICTest::Schema::Link; # so we can get a columnlist
24 __PACKAGE__->belongs_to(
25 link => 'DBICTest::Schema::Link', 'link', {
26 on_delete => 'SET NULL',
28 proxy => { map { join('_', 'link', $_) => $_ } DBICTest::Schema::Link->columns },