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