Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / SequenceTest.pm
CommitLineData
8273e845 1package # hide from PAUSE
b829910c 2 DBICTest::Schema::SequenceTest;
67ff5ffa 3
4a233f30 4use warnings;
5use strict;
6
660cf1be 7use base qw/DBICTest::BaseResult/;
67ff5ffa 8
b829910c 9__PACKAGE__->table('sequence_test');
67ff5ffa 10__PACKAGE__->source_info({
11 "source_info_key_A" => "source_info_value_A",
12 "source_info_key_B" => "source_info_value_B",
13 "source_info_key_C" => "source_info_value_C",
b829910c 14 "source_info_key_D" => "source_info_value_D",
67ff5ffa 15});
16__PACKAGE__->add_columns(
b829910c 17 'pkid1' => {
67ff5ffa 18 data_type => 'integer',
19 auto_nextval => 1,
07cda1c5 20 sequence => \'"pkid1_seq"',
67ff5ffa 21 },
b829910c 22 'pkid2' => {
67ff5ffa 23 data_type => 'integer',
24 auto_nextval => 1,
07cda1c5 25 sequence => \'pkid2_seq',
67ff5ffa 26 },
b829910c 27 'nonpkid' => {
67ff5ffa 28 data_type => 'integer',
29 auto_nextval => 1,
b829910c 30 sequence => 'nonpkid_seq',
67ff5ffa 31 },
32 'name' => {
33 data_type => 'varchar',
34 size => 100,
35 is_nullable => 1,
36 },
37);
b829910c 38__PACKAGE__->set_primary_key('pkid1', 'pkid2');
67ff5ffa 39
401;