summaryrefslogtreecommitdiffstats
path: root/rust/migrations/2018-05-12-001226_init/down.sql
blob: b2666083b23cb68f3e2ab9b76f79967322387378 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

-- 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_rev_release CASCADE;
DROP TABLE IF EXISTS fileset_rev_release CASCADE;
DROP TABLE IF EXISTS webcapture_rev_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 fileset_rev CASCADE;
DROP TABLE IF EXISTS fileset_ident CASCADE;
DROP TABLE IF EXISTS fileset_edit CASCADE;
DROP TABLE IF EXISTS fileset_rev_file CASCADE;
DROP TABLE IF EXISTS fileset_rev_url CASCADE;

DROP TABLE IF EXISTS webcapture_rev CASCADE;
DROP TABLE IF EXISTS webcapture_ident CASCADE;
DROP TABLE IF EXISTS webcapture_edit CASCADE;
DROP TABLE IF EXISTS webcapture_rev_cdx CASCADE;
DROP TABLE IF EXISTS webcapture_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 auth_oidc CASCADE;
DROP TABLE IF EXISTS editor CASCADE;
DROP TABLE IF EXISTS editgroup CASCADE;
DROP TABLE IF EXISTS changelog CASCADE;