Skip to content

Commit

Permalink
Check for a foreign key, not a constraint.
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Feb 29, 2004
1 parent 2bbd54b commit 524de6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/upgrade/1.6.10/fix_asset_desk_constraints.pl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
FROM pg_class c, pg_constraint r
WHERE r.conrelid = c.oid
AND c.relname = 'story'
AND r.contype = 'c'
AND r.contype = 'f'
AND r.conname = 'fk_desk__story'
};

Expand Down

0 comments on commit 524de6b

Please sign in to comment.