aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-09 23:23:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-09 23:23:42 -0700
commitdca71aa9b278832262725147d28334141a6da827 (patch)
tree87311bcad8907e9b6ad247df622ee3fab3d14982
parentebc94065db47f666ff2408e98125f710fb08f655 (diff)
downloadfatcat-dca71aa9b278832262725147d28334141a6da827.tar.gz
fatcat-dca71aa9b278832262725147d28334141a6da827.zip
revert webcapture CDX extra_json
Keep things simpler until needed.
-rw-r--r--fatcat-openapi2.yml3
-rw-r--r--rust/migrations/2019-05-09-051834_v0.3/down.sql3
-rw-r--r--rust/migrations/2019-05-09-051834_v0.3/up.sql3
3 files changed, 2 insertions, 7 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 6fd73deb..9f4de5a5 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -289,9 +289,6 @@ definitions:
<<: *FATCATSHA1
sha256:
<<: *FATCATSHA256
- extra:
- type: object
- additionalProperties: {}
archive_urls:
type: array
items:
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 ------------------------------------------