Move relationships out of Relationships.pm and in to the respective classes. Removed...
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Bookmark.pm
CommitLineData
9c2c91ea 1package # hide from PAUSE
2 DBICTest::Schema::Bookmark;
3
4 use base 'DBIx::Class::Core';
5
6
7use strict;
8use warnings;
9
9c2c91ea 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
251;