]>
Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - Image.pm
ebfc5bcbd9bdc9dce3c82f35f5a905ed440f6ee5
1 package # hide from PAUSE
2 DBICTest
::Schema
::Image
;
4 use base qw
/DBIx::Class::Core/;
6 __PACKAGE__-
>table('images');
7 __PACKAGE__-
>add_columns(
9 data_type
=> 'integer',
10 is_auto_increment
=> 1,
13 data_type
=> 'integer',
17 data_type
=> 'varchar',
25 __PACKAGE__-
>set_primary_key('id');
26 __PACKAGE__-
>belongs_to('artwork', 'DBICTest::Schema::Artwork', 'artwork_id');
28 __PACKAGE__-
>resultset_class( __PACKAGE__
. '::ResultSet');
30 package DBICTest
::Schema
::Image
::ResultSet
;
32 use base
qw( DBIx::Class::ResultSet::RecursiveUpdate );
This page took 0.035329 seconds and 3 git commands to generate.