Move mssql/sybase guid tests to their own table (do not reuse artist)
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / FileColumn.pm
1 package 
2 DBICTest::Schema::FileColumn;
3
4 use strict;
5 use warnings;
6 use base qw/DBICTest::BaseResult/;
7 use File::Temp qw/tempdir/;
8
9 __PACKAGE__->table('file_columns');
10
11 __PACKAGE__->add_columns(
12   id => { data_type => 'integer', is_auto_increment => 1 },
13   file => {
14     data_type        => 'varchar',
15     is_file_column   => 1,
16     file_column_path => tempdir(CLEANUP => 1),
17     size             => 255
18   }
19 );
20
21 __PACKAGE__->set_primary_key('id');
22
23 1;