Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
silvestrov
· 8y ago · 0 comments
That’s not enough because it ignores all foreign key constraints.
Comments
[–]
ifdefdebug
8y ago
Lock db exclusively, disable foreign key checking, rebuild and replace table, reconfigure foreign keys (they are gone after delete and rename), and everything should be fine.