Move relationships out of Relationships.pm and in to the respective classes. Removed...
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Bookmark.pm
1 package # hide from PAUSE
2     DBICTest::Schema::Bookmark;
3
4     use base 'DBIx::Class::Core';
5
6
7 use strict;
8 use warnings;
9
10 __PACKAGE__->table('bookmark');
11 __PACKAGE__->add_columns(qw/id link/);
12 __PACKAGE__->add_columns(
13     'id' => {
14         data_type => 'integer',
15         is_auto_increment => 1
16     },
17     'link' => {
18         data_type => 'integer',
19     },
20 );
21
22 __PACKAGE__->set_primary_key('id');
23 __PACKAGE__->belongs_to(link => 'DBICTest::Schema::Link' );
24
25 1;