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