aboutsummaryrefslogtreecommitdiffstats
path: root/sql/migrations/2019-12-19-060141_init/up.sql
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-04 12:51:53 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-15 18:15:20 -0700
commit9b47798b2fd69fcf3f318bddc896e6342e7f8580 (patch)
tree49a600ee3ed8c183d735907160819ca5dbd69d35 /sql/migrations/2019-12-19-060141_init/up.sql
parent86107e39b761e5b799562af662219fda04ade1be (diff)
downloadsandcrawler-9b47798b2fd69fcf3f318bddc896e6342e7f8580.tar.gz
sandcrawler-9b47798b2fd69fcf3f318bddc896e6342e7f8580.zip
sql: fix typo in CHECK statement
Diffstat (limited to 'sql/migrations/2019-12-19-060141_init/up.sql')
-rw-r--r--sql/migrations/2019-12-19-060141_init/up.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/migrations/2019-12-19-060141_init/up.sql b/sql/migrations/2019-12-19-060141_init/up.sql
index 10a5183..e51bfb4 100644
--- a/sql/migrations/2019-12-19-060141_init/up.sql
+++ b/sql/migrations/2019-12-19-060141_init/up.sql
@@ -154,7 +154,7 @@ CREATE TABLE IF NOT EXISTS ingest_file_result (
updated TIMESTAMP WITH TIME ZONE DEFAULT now() NOT NULL,
hit BOOLEAN NOT NULL,
- status TEXT CHECK (octet_length(terminal_url) >= 1),
+ status TEXT CHECK (octet_length(status) >= 1),
terminal_url TEXT CHECK (octet_length(terminal_url) >= 1),
terminal_dt TEXT CHECK (octet_length(terminal_dt) = 14),
terminal_status_code INT,