From dca71aa9b278832262725147d28334141a6da827 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 9 May 2019 23:23:40 -0700 Subject: revert webcapture CDX extra_json Keep things simpler until needed. --- rust/migrations/2019-05-09-051834_v0.3/down.sql | 3 +-- rust/migrations/2019-05-09-051834_v0.3/up.sql | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'rust/migrations/2019-05-09-051834_v0.3') diff --git a/rust/migrations/2019-05-09-051834_v0.3/down.sql b/rust/migrations/2019-05-09-051834_v0.3/down.sql index bd060a69..cc7d1469 100644 --- a/rust/migrations/2019-05-09-051834_v0.3/down.sql +++ b/rust/migrations/2019-05-09-051834_v0.3/down.sql @@ -18,5 +18,4 @@ DROP COLUMN mag_id, DROP COLUMN ark_id; ALTER TABLE webcapture_rev_cdx -DROP COLUMN size_bytes, -DROP COLUMN extra_json; +DROP COLUMN size_bytes; diff --git a/rust/migrations/2019-05-09-051834_v0.3/up.sql b/rust/migrations/2019-05-09-051834_v0.3/up.sql index d38e842a..7acd7153 100644 --- a/rust/migrations/2019-05-09-051834_v0.3/up.sql +++ b/rust/migrations/2019-05-09-051834_v0.3/up.sql @@ -30,8 +30,7 @@ ADD COLUMN ark_id TEXT CHECK (octet_length(ark_id) >= 5); -------------------- Web Capture ------------------------------------------- ALTER TABLE webcapture_rev_cdx -ADD COLUMN size_bytes BIGINT, -ADD COLUMN extra_json JSONB; +ADD COLUMN size_bytes BIGINT; -------------------- Edit Indices ------------------------------------------ -- cgit v1.2.3