In PostgreSQL 8 is it possible to add ON DELETE CASCADES to the both foreign keys in the following table without dropping the latter?
ON DELETE CASCADES
# \\d scor
Based off of @Mike Sherrill Cat Recall's answer, this is what worked for me:
ALTER TABLE "Children" DROP CONSTRAINT "Children_parentId_fkey", ADD CONSTRAINT "Children_parentId_fkey" FOREIGN KEY ("parentId") REFERENCES "Parent"(id) ON DELETE CASCADE;