mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
10 lines
385 B
SQL
10 lines
385 B
SQL
create table account_centers (
|
|
tenant_id varchar(21) not null
|
|
references tenants (id) on update cascade on delete cascade,
|
|
id varchar(21) not null,
|
|
/** The whole feature can be disabled */
|
|
enabled boolean not null default false,
|
|
/** Control each fields */
|
|
fields jsonb /* @use AccountCenterFieldControl */ not null default '{}'::jsonb,
|
|
primary key (tenant_id, id)
|
|
);
|