750abe1be3
Query Version Update
12 lines
312 B
SQL
12 lines
312 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,
|
|
foreign key (clientId) references clients(id)
|
|
); |