Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lmz
on Aug 17, 2024
|
parent
|
context
|
favorite
| on:
Soft Deletes with Ecto and PostgreSQL
> I 'delete' a record while there are still references to it, and the RDBMS cannot even warn me, much less stop me!
Can't you do multi column FKs ( (otherid, active) references other(id, active) )?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Can't you do multi column FKs ( (otherid, active) references other(id, active) )?