mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
11 lines
385 B
MySQL
11 lines
385 B
MySQL
|
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)
|
||
|
);
|