Commit | Line | Data |
---|---|---|
9c2c91ea | 1 | package # hide from PAUSE |
2 | DBICTest::Schema::Bookmark; | |
3 | ||
660cf1be | 4 | use base qw/DBICTest::BaseResult/; |
9c2c91ea | 5 | |
6 | ||
7 | use strict; | |
8 | use 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', | |
18 | }, | |
19 | ); | |
20 | ||
21 | __PACKAGE__->set_primary_key('id'); | |
22 | __PACKAGE__->belongs_to(link => 'DBICTest::Schema::Link' ); | |
23 | ||
24 | 1; |