1 package # hide from PAUSE
2 DBICTest::Schema::Link;
4 use base 'DBIx::Class::Core';
9 __PACKAGE__->load_components(qw/PK::Auto Core/);
10 __PACKAGE__->table('link');
11 __PACKAGE__->add_columns(
13 data_type => 'integer',
14 is_auto_increment => 1
17 data_type => 'varchar',
22 data_type => 'varchar',
27 __PACKAGE__->set_primary_key('id');
29 use overload '""' => sub { shift->url }, fallback=> 1;