16 lines
451 B
SQL
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'; |