remove unnecessary test Result class
[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
28d4067a 9__PACKAGE__->load_components(qw/InflateColumn::File/);
4740bdb7 10
11__PACKAGE__->table('file_columns');
12
13__PACKAGE__->add_columns(
14 id => { data_type => 'integer', is_auto_increment => 1 },
26ddc864 15 file => {
16 data_type => 'varchar',
17 is_file_column => 1,
18 file_column_path => tempdir(CLEANUP => 1),
19 size => 255
20 }
4740bdb7 21);
22
23__PACKAGE__->set_primary_key('id');
24
251;