Only create ltree postgres extension in migration if doesn't already exist (#3092)

pull/3114/head
adisbladis 2023-06-15 09:03:10 +12:00 committed by GitHub
parent 53fe93db47
commit e0af3a292e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ drop view comment_alias_1;
alter table comment drop column read; 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 add column path ltree not null default '0';
alter table comment_aggregates add column child_count integer not null default 0; alter table comment_aggregates add column child_count integer not null default 0;