aboutsummaryrefslogtreecommitdiffstats
path: root/rust/migrations/2018-05-12-001226_init/down.sql
blob: 3f796db6e1fc5715870e3854effb67f8e7904f31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

-- in opposite order as up.sql

DROP TABLE IF EXISTS release_contrib CASCADE;
DROP TABLE IF EXISTS release_ref CASCADE;
DROP TABLE IF EXISTS file_release CASCADE;

DROP TABLE IF EXISTS work_rev CASCADE;
DROP TABLE IF EXISTS work_ident CASCADE;
DROP TABLE IF EXISTS work_edit CASCADE;

DROP TABLE IF EXISTS release_rev CASCADE;
DROP TABLE IF EXISTS release_ident CASCADE;
DROP TABLE IF EXISTS release_edit CASCADE;
DROP TABLE IF EXISTS release_rev_abstract CASCADE;

DROP TABLE IF EXISTS file_rev CASCADE;
DROP TABLE IF EXISTS file_ident CASCADE;
DROP TABLE IF EXISTS file_edit CASCADE;
DROP TABLE IF EXISTS file_rev_url CASCADE;

DROP TABLE IF EXISTS container_rev CASCADE;
DROP TABLE IF EXISTS container_ident CASCADE;
DROP TABLE IF EXISTS container_edit CASCADE;

DROP TABLE IF EXISTS creator_rev CASCADE;
DROP TABLE IF EXISTS creator_ident CASCADE;
DROP TABLE IF EXISTS creator_edit CASCADE;

DROP TABLE IF EXISTS abstracts CASCADE;
DROP TABLE IF EXISTS editor CASCADE;
DROP TABLE IF EXISTS editgroup CASCADE;
DROP TABLE IF EXISTS changelog CASCADE;