From 2fafc86c3439b88de8b7704f5f0d68d6a48842e2 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 10 May 2019 11:49:49 -0700 Subject: schema: withdrawn_state -> withdrawn_status --- rust/migrations/2019-05-09-051834_v0.3/down.sql | 2 +- rust/migrations/2019-05-09-051834_v0.3/up.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'rust/migrations') 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), -- cgit v1.2.3