mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-09 17:55:10 +00:00
In remove categories down migration, add default for category
This commit is contained in:
parent
3141ad31de
commit
72783edb17
|
@ -31,4 +31,4 @@ insert into category (name) values
|
|||
('Meta'),
|
||||
('Other');
|
||||
|
||||
ALTER TABLE community ADD category_id int references category on update cascade on delete cascade not null;
|
||||
ALTER TABLE community ADD category_id int references category on update cascade on delete cascade not null default 1;
|
Loading…
Reference in a new issue