90353d8161
Doc Clean Structure * outline * isdocclean * placeholder for clean log * versionplustesting * versionplustesting * testspassed
13 lines
370 B
SQL
13 lines
370 B
SQL
CREATE TABLE clients (
|
|
id uuid primary key DEFAULT uuid_generate_v7(),
|
|
name TEXT not null,
|
|
UNIQUE (name)
|
|
);
|
|
|
|
CREATE TABLE clientCanSync (
|
|
id uuid primary key DEFAULT uuid_generate_v7(),
|
|
clientId uuid not null,
|
|
canSync boolean not null,
|
|
addedAt timestamp not null default current_timestamp,
|
|
foreign key (clientId) references clients(id)
|
|
); |