mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-13 16:16:59 +02:00
Small database modification
This commit is contained in:
parent
e9bbd38de2
commit
5b5b8331c7
2 changed files with 2 additions and 0 deletions
|
@ -497,6 +497,7 @@ CREATE TABLE `rde_escrow_deposits` (
|
|||
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
||||
`deposit_id` VARCHAR(255) UNIQUE, -- Unique deposit identifier
|
||||
`deposit_date` DATE NOT NULL,
|
||||
`revision` INT UNSIGNED NOT NULL DEFAULT 1,
|
||||
`file_name` VARCHAR(255) NOT NULL,
|
||||
`file_format` ENUM('XML', 'CSV') NOT NULL, -- Format of the data file
|
||||
`file_size` BIGINT UNSIGNED,
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue