aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-10 11:49:49 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-10 11:49:49 -0700
commit2fafc86c3439b88de8b7704f5f0d68d6a48842e2 (patch)
tree2d14f8c434c727cd1226d52a79c63bdeb2126b1c /rust
parent7d4e08c5e9a157385bc1f9e1b0c58e2ed44370ae (diff)
downloadfatcat-2fafc86c3439b88de8b7704f5f0d68d6a48842e2.tar.gz
fatcat-2fafc86c3439b88de8b7704f5f0d68d6a48842e2.zip
schema: withdrawn_state -> withdrawn_status
Diffstat (limited to 'rust')
-rw-r--r--rust/migrations/2019-05-09-051834_v0.3/down.sql2
-rw-r--r--rust/migrations/2019-05-09-051834_v0.3/up.sql2
2 files changed, 2 insertions, 2 deletions
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 cc7d1469..65e818bf 100644
--- a/rust/migrations/2019-05-09-051834_v0.3/down.sql
+++ b/rust/migrations/2019-05-09-051834_v0.3/down.sql
@@ -11,7 +11,7 @@ ALTER TABLE release_rev
DROP COLUMN number,
DROP COLUMN version,
DROP COLUMN subtitle,
-DROP COLUMN withdrawn_state,
+DROP COLUMN withdrawn_status,
DROP COLUMN withdrawn_date,
DROP COLUMN withdrawn_year,
DROP COLUMN mag_id,
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 0ec8d0e0..e5e88793 100644
--- a/rust/migrations/2019-05-09-051834_v0.3/up.sql
+++ b/rust/migrations/2019-05-09-051834_v0.3/up.sql
@@ -18,7 +18,7 @@ ALTER TABLE release_rev
ADD COLUMN number TEXT CHECK (octet_length(number) >= 1),
ADD COLUMN version TEXT CHECK (octet_length(version) >= 1),
ADD COLUMN subtitle TEXT CHECK (octet_length(subtitle) >= 1),
-ADD COLUMN withdrawn_state TEXT, -- TODO: enum?
+ADD COLUMN withdrawn_status TEXT, -- TODO: enum?
ADD COLUMN withdrawn_date DATE,
ADD COLUMN withdrawn_year BIGINT,
ADD COLUMN mag_id TEXT CHECK (octet_length(mag_id) >= 1),