summaryrefslogtreecommitdiffstats
path: root/rust/migrations/2019-05-09-051834_v0.3/up.sql
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/migrations/2019-05-09-051834_v0.3/up.sql
parent7d4e08c5e9a157385bc1f9e1b0c58e2ed44370ae (diff)
downloadfatcat-2fafc86c3439b88de8b7704f5f0d68d6a48842e2.tar.gz
fatcat-2fafc86c3439b88de8b7704f5f0d68d6a48842e2.zip
schema: withdrawn_state -> withdrawn_status
Diffstat (limited to 'rust/migrations/2019-05-09-051834_v0.3/up.sql')
-rw-r--r--rust/migrations/2019-05-09-051834_v0.3/up.sql2
1 files changed, 1 insertions, 1 deletions
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),