Commit | Line | Data |
c6d74d3e |
1 | package # hide from PAUSE |
2 | DBICTest::Schema::LinerNotes; |
a02675cd |
3 | |
4 | use base qw/DBIx::Class::Core/; |
5 | |
11b78bd6 |
6 | DBICTest::Schema::LinerNotes->table('liner_notes'); |
0009fa49 |
7 | DBICTest::Schema::LinerNotes->add_columns( |
8 | 'liner_id' => { |
9 | data_type => 'integer', |
10 | }, |
11 | 'notes' => { |
12 | data_type => 'varchar', |
cb561d1a |
13 | size => 100, |
0009fa49 |
14 | }, |
15 | ); |
11b78bd6 |
16 | DBICTest::Schema::LinerNotes->set_primary_key('liner_id'); |
096f4212 |
17 | DBICTest::Schema::LinerNotes->belongs_to( |
18 | 'cd', 'DBICTest::Schema::CD', 'liner_id' |
19 | ); |
a02675cd |
20 | |
21 | 1; |