1 package # hide from PAUSE
2 DBICTest::Schema::Link;
4 use base qw/DBICTest::BaseResult/;
9 __PACKAGE__->table('link');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1
16 data_type => 'varchar',
21 data_type => 'varchar',
26 __PACKAGE__->set_primary_key('id');
28 use overload '""' => sub { shift->url }, fallback=> 1;