Remove categories (fixes #1429) #176
Loading…
Reference in New Issue
No description provided.
Delete Branch "remove-categories"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is a breaking change. We also need to update the docs, api docs and javascript client.
be007b5638
to3141ad31de
@ -0,0 +31,4 @@
('Meta'),
('Other');
ALTER TABLE community ADD category_id int references category on update cascade on delete cascade not null;
Did you test this? I'd be surprised if it works since there's not a default value given (should probably be just 1). Its unavoidable but we lose all category info on the tables with this.
I did (with diesel migration revert/run), but maybe I tested it wrong. Will add the default you suggested.
mmk, I'll test this locally too.