From: Jess Robinson Date: Sun, 14 May 2006 19:11:48 +0000 (+0000) Subject: Add foreign key constraint for new bookmark table X-Git-Tag: v0.07002~75^2~194 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=81155549b97e407fdf767b4a47e2e30851f29575;p=dbsrgits%2FDBIx-Class.git Add foreign key constraint for new bookmark table --- diff --git a/t/helperrels/26sqlt.t b/t/helperrels/26sqlt.t index 85f1964..171badb 100644 --- a/t/helperrels/26sqlt.t +++ b/t/helperrels/26sqlt.t @@ -77,6 +77,10 @@ my @fk_constraints = 'selftable' => 'tags', 'foreigntable' => 'cd', 'selfcols' => ['cd'], 'foreigncols' => ['cdid'], 'needed' => 1, on_delete => 'CASCADE', on_update => 'CASCADE'}, + {'display' => 'bookmark -> link', + 'selftable' => 'bookmark', 'foreigntable' => 'link', + 'selfcols' => ['link'], 'foreigncols' => ['id'], + 'needed' => 1, on_delete => '', on_update => ''}, ); my @unique_constraints = (