Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,40 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: columns added to rep_treatment_result
|
||||
-- PROJECT: Guez
|
||||
-- DATE: 2024-08-06
|
||||
-- VERSION: 2.93
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: NONE;
|
||||
BEGIN;
|
||||
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
DROP INDEX IF EXISTS IDX_rep_treatment_data_party_id;
|
||||
DROP INDEX IF EXISTS IDX_rep_treatment_data_time_vulnerability;
|
||||
DROP INDEX IF EXISTS IDX_rep_treatment_timeline_data_event_time;
|
||||
DROP INDEX IF EXISTS IDX_rep_treatment_timeline_data_event_type_id;
|
||||
DROP INDEX IF EXISTS IDX_rep_treatment_timeline_data_participant_id;
|
||||
|
||||
ALTER TABLE rep_treatment_data DROP IF EXISTS qualification;
|
||||
ALTER TABLE rep_treatment_result DROP IF EXISTS qualification;
|
||||
ALTER TABLE rep_treatment_result DROP IF EXISTS kia_after_wia;
|
||||
|
||||
ALTER TABLE rep_treatment_data ADD qualification integer;
|
||||
ALTER TABLE rep_treatment_result ADD qualification integer;
|
||||
ALTER TABLE rep_treatment_result ADD kia_after_wia boolean;
|
||||
|
||||
-- Create indexes for table rep_treatment_data and rep_treatment_result (!)
|
||||
CREATE INDEX IDX_rep_treatment_data_party_id ON rep_treatment_data (party_id);
|
||||
CREATE INDEX IDX_rep_treatment_data_time_vulnerability ON rep_treatment_data (time_vulnerability);
|
||||
CREATE INDEX IDX_rep_treatment_timeline_data_event_time ON rep_treatment_timeline_data (event_time);
|
||||
CREATE INDEX IDX_rep_treatment_timeline_data_event_type_id ON rep_treatment_timeline_data (event_type_id);
|
||||
CREATE INDEX IDX_rep_treatment_timeline_data_participant_id ON rep_treatment_timeline_data (participant_id);
|
||||
|
||||
COMMIT;
|
||||
Reference in new issue
Block a user