mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 22:27:08 +00:00
Only create ltree postgres extension in migration if doesn't already exist (#3092)
This commit is contained in:
parent
53fe93db47
commit
e0af3a292e
|
@ -30,7 +30,7 @@ drop view comment_alias_1;
|
|||
|
||||
alter table comment drop column read;
|
||||
|
||||
create extension ltree;
|
||||
create extension if not exists ltree;
|
||||
|
||||
alter table comment add column path ltree not null default '0';
|
||||
alter table comment_aggregates add column child_count integer not null default 0;
|
||||
|
|
Loading…
Reference in a new issue