mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-22 19:01:32 +00:00
In remove categories down migration, add default for category
This commit is contained in:
parent
3141ad31de
commit
72783edb17
1 changed files with 1 additions and 1 deletions
|
@ -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