Small database modification

This commit is contained in:
Pinga 2023-08-14 16:17:53 +03:00
parent e9bbd38de2
commit 5b5b8331c7
2 changed files with 2 additions and 0 deletions

View file

@ -472,6 +472,7 @@ CREATE TABLE registry.rde_escrow_deposits (
"id" serial8 PRIMARY KEY,
"deposit_id" VARCHAR(255) UNIQUE, -- Unique deposit identifier
"deposit_date" DATE NOT NULL,
"revision" INTEGER NOT NULL DEFAULT 1,
"file_name" VARCHAR(255) NOT NULL,
"file_format" file_format_enum NOT NULL, -- Format of the data file
"file_size" BIGINT CHECK ("file_size" >= 0),