1 package # hide from PAUSE
2 DBICTest::Schema::NoPrimaryKey;
4 use base qw/DBICTest::BaseResult/;
6 __PACKAGE__->table('noprimarykey');
7 __PACKAGE__->add_columns(
8 'foo' => { data_type => 'integer' },
9 'bar' => { data_type => 'integer' },
10 'baz' => { data_type => 'integer' },
13 __PACKAGE__->add_unique_constraint(foo_bar => [ qw/foo bar/ ]);