From 58acf442af343b4b74f2e206cea1e95145dce744 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 1 Nov 2021 20:08:11 -0700 Subject: sql: fixes to ingest_fileset_platform schema (from table creation) --- sql/migrations/2019-12-19-060141_init/up.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sql/migrations') diff --git a/sql/migrations/2019-12-19-060141_init/up.sql b/sql/migrations/2019-12-19-060141_init/up.sql index e478616..3e08ffd 100644 --- a/sql/migrations/2019-12-19-060141_init/up.sql +++ b/sql/migrations/2019-12-19-060141_init/up.sql @@ -172,17 +172,17 @@ CREATE TABLE IF NOT EXISTS ingest_fileset_platform ( hit BOOLEAN NOT NULL, status TEXT CHECK (octet_length(status) >= 1), - platform_name TEXT NOT NULL CHECK (octet_length(platform) >= 1), + platform_name TEXT NOT NULL CHECK (octet_length(platform_name) >= 1), platform_domain TEXT NOT NULL CHECK (octet_length(platform_domain) >= 1), platform_id TEXT NOT NULL CHECK (octet_length(platform_id) >= 1), ingest_strategy TEXT CHECK (octet_length(ingest_strategy) >= 1), total_size BIGINT, - file_count INT, - archiveorg_item_name TEXT CHECK (octet_length(item_name) >= 1), + file_count BIGINT, + archiveorg_item_name TEXT CHECK (octet_length(archiveorg_item_name) >= 1), - archiveorg_item_bundle_path TEXT CHECK (octet_length(item_path_bundle) >= 1), - web_bundle_url TEXT CHECK (octet_length(terminal_url) >= 1), - web_bundle_dt TEXT CHECK (octet_length(terminal_dt) = 14), + archiveorg_item_bundle_path TEXT CHECK (octet_length(archiveorg_item_bundle_path) >= 1), + web_bundle_url TEXT CHECK (octet_length(web_bundle_url) >= 1), + web_bundle_dt TEXT CHECK (octet_length(web_bundle_dt) = 14), manifest JSONB, -- list, similar to fatcat fileset manifest, plus extra: -- cgit v1.2.3