fixup for stringify that can be false in find_or_create_related
[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
10__PACKAGE__->load_components(qw/PK::Auto Core/);
11__PACKAGE__->table('bookmark');
12__PACKAGE__->add_columns(qw/id link/);
13__PACKAGE__->add_columns(
14 'id' => {
15 data_type => 'integer',
16 is_auto_increment => 1
17 },
18 'link' => {
19 data_type => 'integer',
20 },
21);
22
23__PACKAGE__->set_primary_key('id');
24__PACKAGE__->belongs_to(link => 'DBICTest::Schema::Link' );
25
261;