Closed simonw closed 1 year ago
I'm going to do a cheap JavaScript confirm()
for the moment.
A better solution would be to make this a reversible action. One way to do that:
_X
tables are hidden by default_deleted_tablename
_internal
table that records when it was deleted and sets a deadline for it to be dropped - maybe 5 minutes after deletion?I'm not going to implement this yet though, partly because of complexity but mainly because if delet table becomes reversible then how about drop column etc? And adding a full undo stack is way out of scope for the moment.
It's really easy to click by accident and it's irreversible!