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