fixup for stringify that can be false in find_or_create_related
[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__->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
26 1;