]> Dogcows Code - chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate/blob - t/lib/DBSchema/Result/Onekey.pm
got rid of the requirement to add id => undef
[chaz/p5-DBIx-Class-ResultSet-RecursiveUpdate] / t / lib / DBSchema / Result / Onekey.pm
1 package DBSchema::Result::Onekey;
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("onekey");
12 __PACKAGE__->add_columns(
13 "id" => { data_type => 'integer', is_auto_increment => 1 },
14 name => { data_type => 'varchar', size => 100, is_nullable => 1 },
15 );
16 __PACKAGE__->set_primary_key("id");
17
18 __PACKAGE__->might_have(
19 twokeys_belongsto => 'DBSchema::Result::Twokeys_belongsto', 'key1',
20 );
21
22
23 1;
24
This page took 0.031609 seconds and 4 git commands to generate.