1 | /* End, non specific updates */ |
---|
2 | |
---|
3 | /* table and column drops */ |
---|
4 | use ibisph; |
---|
5 | |
---|
6 | update USER set ID = 'admin', PASSWORD = 'admin' where ID='garth'; |
---|
7 | insert into ROLE_TO_USER (USER_ID, ROLE_NAME) values ('admin', 'Admin'); |
---|
8 | |
---|
9 | |
---|
10 | alter table INDICATOR drop column HEALTHY_PEOPLE_OBJECTIVE_NAME; |
---|
11 | alter table INDICATOR drop column MORE_RESOURCES_TITLE; |
---|
12 | alter table INDICATOR drop column DATA_ISSUES; |
---|
13 | |
---|
14 | /* data-cleanup.sql sets the IV TITLE = SUB_TITLE minus trailing comma */ |
---|
15 | alter table INDICATOR_VIEW drop column SUB_TITLE; |
---|
16 | |
---|
17 | alter table INDICATOR_VIEW drop column PERIOD_TITLE; |
---|
18 | alter table INDICATOR_VIEW drop column Y_TITLE; |
---|
19 | alter table INDICATOR_VIEW drop column DATASET_SERIES_NAME; |
---|
20 | alter table INDICATOR_VIEW drop column DATASET_CATEGORY_NAME; |
---|
21 | alter table INDICATOR_VIEW drop column VALUE_TYPE_NAME; |
---|
22 | alter table INDICATOR_VIEW drop column TARGET_VALUE; |
---|
23 | |
---|
24 | alter table INDICATOR_VIEW drop column SERIES_DIMENSION_NAME; |
---|
25 | alter table INDICATOR_VIEW drop column CATEGORY_DIMENSION_NAME; |
---|
26 | |
---|
27 | |
---|
28 | drop table if exists CATEGORIZED_INDEX; |
---|
29 | drop table if exists DATA_SOURCE_TO_INDICATOR; |
---|
30 | drop table if exists DATA_SOURCE_TO_INDICATOR_VIEW; |
---|
31 | |
---|
32 | drop table if exists DATASET_SERIES; |
---|
33 | drop table if exists DATASET_SERIES_VALUE; |
---|
34 | drop table if exists DATASET_CATEGORY; |
---|
35 | drop table if exists DATASET_CATEGORY_VALUE; |
---|
36 | drop table if exists TITLE; |
---|
37 | |
---|
38 | drop table if exists HEALTHY_PEOPLE_OBJECTIVE; |
---|
39 | drop table if exists HEALTHY_PEOPLE_OBJ_FOCUS_AREA; |
---|
40 | |
---|
41 | drop table if exists INDICATOR_VIEW_VALUE; |
---|
42 | |
---|
43 | drop table if exists TMP_DATASET_RECORD; |
---|
44 | drop table if exists TMP_INDICATOR_VIEW_DATASET; |
---|
45 | |
---|
46 | alter table DATASET_RECORD drop column NAME; |
---|
47 | |
---|
48 | |
---|
49 | drop table if exists SURVEY_RESPONSE; |
---|
50 | |
---|
51 | drop table if exists INDICATOR_VIEW_QUERY_VALUE; |
---|
52 | /*------------------------------ END OF FILE ------------------------------*/ |
---|
53 | |
---|