]>
Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBICTest/Schema/Image.pm
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.034786 seconds and 4 git commands to generate.