1 package # hide from PAUSE
2 DBICTest::Schema::LyricVersion;
7 use base qw/DBICTest::BaseResult/;
9 __PACKAGE__->table('lyric_versions');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1,
16 data_type => 'integer',
20 data_type => 'varchar',
24 __PACKAGE__->set_primary_key('id');
25 __PACKAGE__->add_unique_constraint ([qw/lyric_id text/]);
26 __PACKAGE__->belongs_to('lyric', 'DBICTest::Schema::Lyrics', 'lyric_id');