0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/schemas/tables/scopes.sql

8 lines
260 B
SQL

create table scopes (
id varchar(21) not null,
resource_id varchar(21) references resources (id) on update cascade on delete cascade,
name varchar(256) not null,
description text,
created_at timestamptz not null default(now()),
primary key (id)
);