Merge 'trunk' into 'storage-interbase'
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / Bookmark.pm
CommitLineData
9c2c91ea 1package # hide from PAUSE
2 DBICTest::Schema::Bookmark;
3
660cf1be 4 use base qw/DBICTest::BaseResult/;
9c2c91ea 5
6
7use strict;
8use warnings;
9
9c2c91ea 10__PACKAGE__->table('bookmark');
9c2c91ea 11__PACKAGE__->add_columns(
12 'id' => {
13 data_type => 'integer',
14 is_auto_increment => 1
15 },
16 'link' => {
17 data_type => 'integer',
7fb60fb1 18 is_nullable => 1,
9c2c91ea 19 },
20);
21
22__PACKAGE__->set_primary_key('id');
def17c59 23__PACKAGE__->belongs_to(link => 'DBICTest::Schema::Link', 'link', { on_delete => 'SET NULL' } );
9c2c91ea 24
251;