Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / NoPrimaryKey.pm
1 package # hide from PAUSE
2     DBICTest::Schema::NoPrimaryKey;
3
4 use warnings;
5 use strict;
6
7 use base qw/DBICTest::BaseResult/;
8
9 __PACKAGE__->table('noprimarykey');
10 __PACKAGE__->add_columns(
11   'foo' => { data_type => 'integer' },
12   'bar' => { data_type => 'integer' },
13   'baz' => { data_type => 'integer' },
14 );
15
16 __PACKAGE__->add_unique_constraint(foo_bar => [ qw/foo bar/ ]);
17
18 1;