]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBSchema/Result/LinerNotes.pm
m2m accepts one element instead of an arrayref; id as generic pk
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / LinerNotes.pm
1 package # hide from PAUSE
2 DBSchema::Result::LinerNotes;
3
4 use base qw/DBIx::Class::Core/;
5
6 __PACKAGE__->table('liner_notes');
7 __PACKAGE__->add_columns(
8 'liner_id' => {
9 data_type => 'integer',
10 },
11 'notes' => {
12 data_type => 'varchar',
13 size => 100,
14 },
15 );
16 __PACKAGE__->set_primary_key('liner_id');
17 __PACKAGE__->belongs_to(
18 'dvd', 'DBSchema::Result::Dvd', 'liner_id'
19 );
20
21 1;
This page took 0.034202 seconds and 4 git commands to generate.