Files
query-orchestration/internal/database/migrations/00000000000003_clients.up.sql
T
Michael McGuinness 81e7223560 Merged in feature/textextraction (pull request #110)
Text Extraction

* bases

* go

* splitting

* structure

* movetoasync

* movetoasync

* settinguptrigger

* reorder

* storevent

* standardisepollingvalidation

* unittests

* fixlint

* fixlint

* awscfg

* generatesample

* followthrough

* tests

* clena

* store

* externalidcleanup

* clientid

* local

* baseunittests

* putobjecttests

* tests
2025-04-02 18:50:03 +00:00

13 lines
302 B
SQL

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