Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Image.pm
CommitLineData
8273e845 1package # hide from PAUSE
4f6386b0 2 DBICTest::Schema::Image;
3
4a233f30 4use warnings;
5use strict;
6
660cf1be 7use base qw/DBICTest::BaseResult/;
4f6386b0 8
9__PACKAGE__->table('images');
10__PACKAGE__->add_columns(
11 'id' => {
12 data_type => 'integer',
13 is_auto_increment => 1,
14 },
15 'artwork_id' => {
16 data_type => 'integer',
17 is_foreign_key => 1,
18 },
19 'name' => {
20 data_type => 'varchar',
21 size => 100,
22 },
23 'data' => {
24 data_type => 'blob',
25 is_nullable => 1,
26 },
27);
28__PACKAGE__->set_primary_key('id');
29__PACKAGE__->belongs_to('artwork', 'DBICTest::Schema::Artwork', 'artwork_id');
30
311;