Add tests for r6002
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Demographic.pm
CommitLineData
caac1708 1package DBICTest::Schema::Demographic;
2
3use strict;
4
5use base 'DBIx::Class::Core';
6
7__PACKAGE__->table('demographic');
8__PACKAGE__->add_columns(
9 demographicid => {
10 data_type => 'integer',
11 is_auto_increment => 1,
12 },
13 name => {
14 data_type => 'varchar',
15 size => 100,
16 },
17);
18__PACKAGE__->set_primary_key('demographicid');
19__PACKAGE__->add_unique_constraint ( demographic_name => [qw/name/] );
20
211;