Mercurial > dive4elements > river
annotate backend/doc/schema/postgresql-drop-spatial.sql @ 9291:913bc7d1d2a8
Merge
author | gernotbelger |
---|---|
date | Tue, 24 Jul 2018 11:26:15 +0200 |
parents | c7b200fe343b |
children |
rev | line source |
---|---|
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
1 BEGIN; |
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
2 |
8944 | 3 DROP TABLE axis_kinds CASCADE; |
4 DROP TABLE river_axes CASCADE; | |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
5 DROP SEQUENCE RIVER_AXES_ID_SEQ; |
8944 | 6 DROP TABLE river_axes_km CASCADE; |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
7 DROP SEQUENCE RIVER_AXES_KM_ID_SEQ; |
8944 | 8 DROP TABLE cross_section_track_kinds CASCADE; |
9 DROP TABLE cross_section_tracks CASCADE; | |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
10 DROP SEQUENCE CROSS_SECTION_TRACKS_ID_SEQ; |
8944 | 11 DROP TABLE building_kinds CASCADE; |
12 DROP TABLE buildings CASCADE; | |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
13 DROP SEQUENCE BUILDINGS_ID_SEQ; |
8944 | 14 DROP TABLE fixpoints CASCADE; |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
15 DROP SEQUENCE FIXPOINTS_ID_SEQ; |
8944 | 16 DROP TABLE floodplain_kinds CASCADE; |
17 DROP TABLE floodplain CASCADE; | |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
18 DROP SEQUENCE FLOODPLAIN_ID_SEQ; |
8944 | 19 DROP TABLE dem CASCADE; |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
20 DROP SEQUENCE DEM_ID_SEQ; |
8944 | 21 DROP TABLE hws_kinds CASCADE; |
22 DROP TABLE fed_states CASCADE; | |
23 DROP TABLE hws_lines CASCADE; | |
24 DROP SEQUENCE HWS_LINES_ID_SEQ; | |
25 DROP TABLE hws_points CASCADE; | |
26 DROP SEQUENCE HWS_POINTS_ID_SEQ; | |
27 DROP TABLE floodmap_kinds CASCADE; | |
28 DROP TABLE floodmaps CASCADE; | |
29 DROP SEQUENCE FLOODMAPS_ID_SEQ; | |
30 DROP TABLE sectie_kinds CASCADE; | |
31 DROP TABLE sobek_kinds CASCADE; | |
32 DROP TABLE boundary_kinds CASCADE; | |
33 DROP TABLE hydr_boundaries CASCADE; | |
34 DROP SEQUENCE HYDR_BOUNDARIES_ID_SEQ; | |
35 DROP TABLE hydr_boundaries_poly CASCADE; | |
36 DROP SEQUENCE HYDR_BOUNDARIES_POLY_ID_SEQ; | |
37 DROP TABLE jetty_kinds CASCADE; | |
38 DROP TABLE jetties CASCADE; | |
39 DROP SEQUENCE JETTIES_ID_SEQ; | |
40 DROP TABLE flood_marks CASCADE; | |
41 DROP SEQUENCE FLOOD_MARKS_ID_SEQ; | |
3948
883dd49d5e74
Adapted PostgreSQL spatial schema.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
diff
changeset
|
42 |
8944 | 43 COMMIT; |