Files
query-orchestration/internal/database/migrations/00000000000003_clients.up.sql
T
Michael McGuinness efe87321b2 Merged in feature/parallellogqueries (pull request #132)
Testing Tweaks

* parallel

* slowestquery

* split

* cleanup

* health

* dynamiccores

* go

* profile

* timeout

* commitmychanges

* taskfile

* sqlcheckstart

* client

* cost

* ctxtimeout
2025-05-05 09:31:21 +00:00

13 lines
318 B
SQL

CREATE TABLE clients (
clientId varchar(255) primary key,
name TEXT not null,
UNIQUE (name)
);
CREATE TABLE clientCanSync (
syncId uuid primary key DEFAULT uuid_generate_v7(),
clientId varchar(255) not null,
canSync boolean not null,
foreign key (clientId) references clients(clientId)
);