Commit | Line | Data |
---|---|---|
89034887 | 1 | package # hide from PAUSE |
2 | DBICTest::Schema::NoPrimaryKey; | |
3 | ||
4 | use base 'DBIx::Class::Core'; | |
5 | ||
6 | DBICTest::Schema::NoPrimaryKey->table('noprimarykey'); | |
7 | DBICTest::Schema::NoPrimaryKey->add_columns( | |
8 | 'foo' => { data_type => 'integer' }, | |
9 | 'bar' => { data_type => 'integer' }, | |
10 | 'baz' => { data_type => 'integer' }, | |
11 | ); | |
12 | ||
13 | DBICTest::Schema::NoPrimaryKey->add_unique_constraint(foo_bar => [ qw/foo bar/ ]); | |
14 | ||
15 | 1; |