Trailing WS crusade - got to save them bits
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / NoPrimaryKey.pm
CommitLineData
8273e845 1package # hide from PAUSE
89034887 2 DBICTest::Schema::NoPrimaryKey;
3
660cf1be 4use 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
151;