mm-auth-service/sql/V5__Create_org_table.sql
2025-07-25 18:00:13 +07:00

16 lines
451 B
SQL

create table "organization" (
"id" char(36) not null primary key,
"name" varchar(255) not null,
"created_at" timestamp,
"updated_at" timestamp
);
comment on table "organization" is 'null';
create table "applications" (
"id" char(36) not null primary key,
"organization_id" char(36),
"name" varchar(255) not null,
"created_at" timestamp,
"updated_at" timestamp
);
comment on table "applications" is 'null';