20841f1a542df2075d175349eb4400e2da110eac
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / NoPrimaryKey.pm
1 package # hide from PAUSE
2     DBICTest::Schema::NoPrimaryKey;
3
4 use base qw/DBICTest::BaseResult/;
5
6 __PACKAGE__->table('noprimarykey');
7 __PACKAGE__->add_columns(
8   'foo' => { data_type => 'integer' },
9   'bar' => { data_type => 'integer' },
10   'baz' => { data_type => 'integer' },
11 );
12
13 __PACKAGE__->add_unique_constraint(foo_bar => [ qw/foo bar/ ]);
14
15 1;