Cleanup a bit
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / FileColumn.pm
CommitLineData
4740bdb7 1package
2DBICTest::Schema::FileColumn;
3
4use strict;
5use warnings;
660cf1be 6use base qw/DBICTest::BaseResult/;
26ddc864 7use File::Temp qw/tempdir/;
4740bdb7 8
4740bdb7 9__PACKAGE__->table('file_columns');
10
11__PACKAGE__->add_columns(
12 id => { data_type => 'integer', is_auto_increment => 1 },
26ddc864 13 file => {
14 data_type => 'varchar',
15 is_file_column => 1,
16 file_column_path => tempdir(CLEANUP => 1),
17 size => 255
18 }
4740bdb7 19);
20
21__PACKAGE__->set_primary_key('id');
22
231;