Add strict/warnings test, adjust all offenders (wow, that was a lot)
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Lyrics.pm
CommitLineData
8273e845 1package # hide from PAUSE
4f6386b0 2 DBICTest::Schema::Lyrics;
3
4a233f30 4use warnings;
5use strict;
6
660cf1be 7use base qw/DBICTest::BaseResult/;
4f6386b0 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
241;