Edit existing FOREIGN KEY constraints in PostgreSQL with the ALTER TABLE command.

While setting up a test database on my system, I discovered the need to ALTER existing FOREIGN KEY‘s. Here’s what I studied, learned, and implemented.

(more…)