Commit | Line | Data |
---|---|---|
89034887 | 1 | package # hide from PAUSE |
2 | DBICTest::Schema::NoPrimaryKey; | |
3 | ||
660cf1be | 4 | use base qw/DBICTest::BaseResult/; |
89034887 | 5 | |
11357d09 | 6 | __PACKAGE__->table('noprimarykey'); |
7 | __PACKAGE__->add_columns( | |
89034887 | 8 | 'foo' => { data_type => 'integer' }, |
9 | 'bar' => { data_type => 'integer' }, | |
10 | 'baz' => { data_type => 'integer' }, | |
11 | ); | |
12 | ||
11357d09 | 13 | __PACKAGE__->add_unique_constraint(foo_bar => [ qw/foo bar/ ]); |
89034887 | 14 | |
15 | 1; |