Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / LyricVersion.pm
1 package # hide from PAUSE
2     DBICTest::Schema::LyricVersion;
3
4 use warnings;
5 use strict;
6
7 use base qw/DBICTest::BaseResult/;
8
9 __PACKAGE__->table('lyric_versions');
10 __PACKAGE__->add_columns(
11   'id' => {
12     data_type => 'integer',
13     is_auto_increment => 1,
14   },
15   'lyric_id' => {
16     data_type => 'integer',
17     is_foreign_key => 1,
18   },
19   'text' => {
20     data_type => 'varchar',
21     size => 100,
22   },
23 );
24 __PACKAGE__->set_primary_key('id');
25 __PACKAGE__->belongs_to('lyric', 'DBICTest::Schema::Lyrics', 'lyric_id');
26
27 1;