create unique index if not exists Global_Singleton

This commit is contained in:
Michael Hoennig 2025-02-17 08:25:16 +01:00
parent 873b620991
commit f8c1b2eac7

View File

@ -16,7 +16,7 @@ create table if not exists rbac.global
uuid uuid primary key references rbac.object (uuid) on delete cascade,
name varchar(63) unique
);
create unique index Global_Singleton on rbac.global ((0));
create unique index if not exists Global_Singleton on rbac.global ((0));
grant select on rbac.global to ${HSADMINNG_POSTGRES_RESTRICTED_USERNAME};
--//