]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBSchema/Result/Dvdtag.pm
m2m accepts one element instead of an arrayref; id as generic pk
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / Dvdtag.pm
1 package DBSchema::Result::Dvdtag;
2
3 # Created by DBIx::Class::Schema::Loader v0.03000 @ 2006-10-02 08:24:09
4
5 use strict;
6 use warnings;
7
8 use base 'DBIx::Class';
9
10 __PACKAGE__->load_components("PK::Auto", "Core");
11 __PACKAGE__->table("dvdtag");
12 __PACKAGE__->add_columns(
13 "dvd" => { data_type => 'integer' },
14 "tag" => { data_type => 'integer' },
15 );
16 __PACKAGE__->set_primary_key("dvd", "tag");
17 __PACKAGE__->belongs_to("dvd", "DBSchema::Result::Dvd", { dvd_id => "dvd" });
18 __PACKAGE__->belongs_to("tag", "DBSchema::Result::Tag", { id => "tag" });
19
20 1;
21
This page took 0.028456 seconds and 4 git commands to generate.