Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / NoPrimaryKey.pm
CommitLineData
8273e845 1package # hide from PAUSE
89034887 2 DBICTest::Schema::NoPrimaryKey;
3
4a233f30 4use warnings;
5use strict;
6
660cf1be 7use 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
181;