0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
logto/packages/schemas/tables/settings.sql
2023-01-28 12:58:42 +08:00

10 lines
291 B
SQL

create table settings (
tenant_id varchar(21) not null
references tenants (id) on update cascade on delete cascade,
id varchar(21) not null,
admin_console jsonb /* @use AdminConsoleConfig */ not null,
primary key (id)
);
create index settings__id
on settings (tenant_id, id);