X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FLinerNotes.pm;h=168f311dd98eaee9f6672111d40b98e43a2cda4d;hb=096f421241;hp=19e40259210e33166ff673fc90e01fc1e197d943;hpb=c6d74d3ead7c87c6c63997b8e39fa638f4851559;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/LinerNotes.pm b/t/lib/DBICTest/Schema/LinerNotes.pm index 19e4025..168f311 100644 --- a/t/lib/DBICTest/Schema/LinerNotes.pm +++ b/t/lib/DBICTest/Schema/LinerNotes.pm @@ -10,8 +10,12 @@ DBICTest::Schema::LinerNotes->add_columns( }, 'notes' => { data_type => 'varchar', + size => 100, }, ); DBICTest::Schema::LinerNotes->set_primary_key('liner_id'); +DBICTest::Schema::LinerNotes->belongs_to( + 'cd', 'DBICTest::Schema::CD', 'liner_id' +); 1;