aboutsummaryrefslogtreecommitdiffstats
path: root/rust/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'rust/migrations')
-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),