Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Sohcahtoa82
· 2y ago · 0 comments
Why not name your database "my_db_all" and then create a view called "my_db" that's just "select * from my_db_all where deleted != true", or something to that effect?
Comments
[–]
waych
2y ago
This seems to ignore the issues raised concerning foreign keys and consumer data protection pruning.
[–]
icedchai
2y ago
Just because a row is soft-deleted now doesn't mean it can't be actually deleted later.
[–]
waych
2y ago
This is still ignoring the issues listed in TFA?