Merged in feature/client (pull request #31)
Client Entity * repolevel * servicefunctions * openapiclientget * openapiupdate * client * vendor
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DROP TABLE clients;
|
||||
@@ -0,0 +1,6 @@
|
||||
CREATE TABLE clients (
|
||||
id uuid primary key DEFAULT gen_random_uuid(),
|
||||
name TEXT not null,
|
||||
canSync boolean not null default false,
|
||||
UNIQUE (name)
|
||||
);
|
||||
@@ -1 +0,0 @@
|
||||
DROP TABLE queryDeprecations;
|
||||
@@ -1,8 +0,0 @@
|
||||
CREATE TABLE queryDeprecations (
|
||||
id uuid primary key DEFAULT gen_random_uuid(),
|
||||
queryId uuid not null,
|
||||
time timestamp not null DEFAULT NOW(),
|
||||
removedAt timestamp,
|
||||
foreign key (queryId) references queries(id),
|
||||
unique (queryId, removedAt)
|
||||
);
|
||||
Reference in New Issue
Block a user