Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / VaryingMAX.pm
CommitLineData
2edf3352 1package # hide from PAUSE
2 DBICTest::Schema::VaryingMAX;
3
4a233f30 4use warnings;
5use strict;
6
2edf3352 7use base qw/DBICTest::BaseResult/;
8
9# Test VARCHAR(MAX) type for MSSQL (used in ADO tests)
10
11__PACKAGE__->table('varying_max_test');
12
13__PACKAGE__->add_columns(
14 'id' => {
15 data_type => 'integer',
16 is_auto_increment => 1,
17 },
18 'varchar_max' => {
19 data_type => 'varchar',
20 size => 'max',
21 is_nullable => 1,
22 },
23 'nvarchar_max' => {
24 data_type => 'nvarchar',
25 size => 'max',
26 is_nullable => 1,
27 },
28 'varbinary_max' => {
29 data_type => 'varbinary(max)', # alternately
30 size => undef,
31 is_nullable => 1,
32 },
33);
34
35__PACKAGE__->set_primary_key('id');
36
371;