Merged in feature/CollectorBuildVersion (pull request #100)
Collector Build Version * lint * fixtests
This commit is contained in:
@@ -33,7 +33,7 @@ CREATE TABLE collectorActiveVersions (
|
||||
CREATE TABLE collectorMinCleanVersions (
|
||||
id uuid primary key DEFAULT uuid_generate_v7(),
|
||||
clientId uuid not null,
|
||||
versionId int not null,
|
||||
versionId bigint not null,
|
||||
addedVersion int not null,
|
||||
removedVersion int,
|
||||
foreign key (clientId, addedVersion) references collectorVersions(clientId, id),
|
||||
@@ -60,7 +60,7 @@ EXECUTE FUNCTION removeMinCleanVersion();
|
||||
CREATE TABLE collectorMinTextVersions (
|
||||
id uuid primary key DEFAULT uuid_generate_v7(),
|
||||
clientId uuid not null,
|
||||
versionId int not null,
|
||||
versionId bigint not null,
|
||||
addedVersion int not null,
|
||||
removedVersion int,
|
||||
foreign key (clientId, addedVersion) references collectorVersions(clientId, id),
|
||||
|
||||
@@ -45,14 +45,14 @@ CREATE TABLE documentCleans (
|
||||
CREATE TABLE documentCleanEntries (
|
||||
id uuid primary key DEFAULT uuid_generate_v7(),
|
||||
cleanId uuid not null,
|
||||
version int not null,
|
||||
version bigint not null,
|
||||
foreign key (cleanId) references documentCleans(id)
|
||||
);
|
||||
|
||||
CREATE TABLE documentTextExtractions (
|
||||
id uuid primary key DEFAULT uuid_generate_v7(),
|
||||
cleanEntryId uuid not null,
|
||||
version int not null,
|
||||
version bigint not null,
|
||||
bucket text not null,
|
||||
key text not null,
|
||||
foreign key (cleanEntryId) references documentCleans(id)
|
||||
|
||||
Reference in New Issue
Block a user