Functional row-parse generator - really works!!!
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / LyricVersion.pm
CommitLineData
4f6386b0 1package # hide from PAUSE
2 DBICTest::Schema::LyricVersion;
3
660cf1be 4use base qw/DBICTest::BaseResult/;
4f6386b0 5
6__PACKAGE__->table('lyric_versions');
7__PACKAGE__->add_columns(
8 'id' => {
9 data_type => 'integer',
10 is_auto_increment => 1,
11 },
12 'lyric_id' => {
13 data_type => 'integer',
14 is_foreign_key => 1,
15 },
16 'text' => {
17 data_type => 'varchar',
18 size => 100,
19 },
20);
21__PACKAGE__->set_primary_key('id');
3904d3c3 22__PACKAGE__->add_unique_constraint ([qw/lyric_id text/]);
4f6386b0 23__PACKAGE__->belongs_to('lyric', 'DBICTest::Schema::Lyrics', 'lyric_id');
24
251;