aboutsummaryrefslogtreecommitdiffstats
path: root/rust/migrations/2019-05-09-051834_v0.3/down.sql
blob: bd060a690ba7bee832c7ff20bb9a7752a4f7a5f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- This file should undo anything in `up.sql`

ALTER TABLE release_contrib 
DROP COLUMN given_name,
DROP COLUMN surname;

ALTER TABLE release_rev
RENAME COLUMN release_stage TO release_status;

ALTER TABLE release_rev
DROP COLUMN number,
DROP COLUMN version,
DROP COLUMN subtitle,
DROP COLUMN withdrawn_state,
DROP COLUMN withdrawn_date,
DROP COLUMN withdrawn_year,
DROP COLUMN mag_id,
DROP COLUMN ark_id;

ALTER TABLE webcapture_rev_cdx
DROP COLUMN size_bytes,
DROP COLUMN extra_json;