add mysql bit_as_unsigned on_connect_call option, and tests for bit type
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / BitField.pm
1 package # hide from PAUSE 
2     DBICTest::Schema::BitField;
3
4 use base qw/DBICTest::BaseResult/;
5
6 __PACKAGE__->table('bitfield_test');
7 __PACKAGE__->add_columns(
8   'id' => {
9     data_type => 'integer',
10     is_auto_increment => 1,
11   },
12   'bitfield_1' => {
13     data_type => 'bit',
14     size => 1,
15     is_nullable => 1,
16   },
17   'bitfield_32' => {
18     data_type => 'bit',
19     size => 32,
20     is_nullable => 1,
21   },
22   'bitfield_64' => {
23     data_type => 'bit',
24     size => 64,
25     is_nullable => 1,
26   },
27 );
28 __PACKAGE__->set_primary_key('id');
29
30 1;