changelog.db.changelog-master.xml Maven / Gradle / Ivy
Alter SCENARIO VERSION column
ALTER TABLE SCENARIO ALTER COLUMN VERSION DROP DEFAULT
ALTER TABLE SCENARIO ALTER COLUMN VERSION SET NOT NULL
Rename CAMPAIGN_SCENARIOS columns
Rename CAMPAIGN_EXECUTION_HISTORY columns
Rename CAMPAIGN_EXECUTION_HISTORY columns
Rename CAMPAIGN_EXECUTION_HISTORY columns
Rename CAMPAIGN_EXECUTION_HISTORY columns
Drop SCENARIO_EXECUTION_HISTORY id sequence
Alias text postgresql type as clob
create domain clob as text
Create SCENARIO table
select currval('SCENARIO_SEQ') - (select max(cast(ID as integer)) from SCENARIO)
Update SCENARIO id sequence
alter sequence SCENARIO_SEQ restart with (select max(cast(ID as integer))+1 from SCENARIO)
select (select last_value from SCENARIO_SEQ) - (select max(cast(ID as integer)) from SCENARIO)
Update SCENARIO id sequence
select setval('SCENARIO_SEQ', max(cast(ID as integer))+1) from SCENARIO
Create CAMPAIGN table
select currval('CAMPAIGN_SEQ') - (select max(ID) from CAMPAIGN)
Update CAMPAIGN id sequence
alter sequence CAMPAIGN_SEQ restart with (select max(ID)+1 from CAMPAIGN)
select (select last_value from CAMPAIGN_SEQ) - (select max(ID) from CAMPAIGN)
Update CAMPAIGN id sequence
select setval('CAMPAIGN_SEQ', max(ID)+1) from CAMPAIGN
Create SCENARIO_EXECUTION_HISTORY table
select currval('SCENARIO_EXECUTION_HISTORY_SEQ') - (select max(ID) from SCENARIO_EXECUTION_HISTORY)
Update SCENARIO_EXECUTION_HISTORY id sequence
alter sequence SCENARIO_EXECUTION_HISTORY_SEQ restart with (select max(ID)+1 from SCENARIO_EXECUTION_HISTORY)
select (select last_value from SCENARIO_EXECUTION_HISTORY_SEQ) - (select max(ID) from SCENARIO_EXECUTION_HISTORY)
Update SCENARIO_EXECUTION_HISTORY id sequence
select setval('SCENARIO_EXECUTION_HISTORY_SEQ', max(ID)+1) from SCENARIO_EXECUTION_HISTORY
Create CAMPAIGN_SCENARIOS table
Create CAMPAIGN_EXECUTION_HISTORY table
select currval('CAMPAIGN_EXECUTION_SEQ') - (select max(ID) from CAMPAIGN_EXECUTION_HISTORY)
Update CAMPAIGN_EXECUTION_HISTORY id sequence
alter sequence CAMPAIGN_EXECUTION_SEQ restart with (select max(ID)+1 from CAMPAIGN_EXECUTION_HISTORY)
select (select last_value from CAMPAIGN_EXECUTION_SEQ) - (select max(ID) from CAMPAIGN_EXECUTION_HISTORY)
Update CAMPAIGN_EXECUTION_HISTORY id sequence
select setval('CAMPAIGN_EXECUTION_SEQ', max(ID)+1) from CAMPAIGN_EXECUTION_HISTORY
Create column index in CAMPAIGN_SCENARIOS
Create CAMPAIGN_PARAMETER table
Create column ENVIRONMENT in CAMPAIGN
Create column PARTIAL_EXECUTION in CAMPAIGN_EXECUTION_HISTORY
Create column EXECUTION_ENVIRONMENT in CAMPAIGN_EXECUTION_HISTORY
Create column PARALLEL_RUN in CAMPAIGN
Create column RETRY_AUTO in CAMPAIGN
Create column ENVIRONMENT in SCENARIO_EXECUTION_HISTORY
Create column USER_ID in CAMPAIGN_EXECUTION_HISTORY
Create column USER_ID in SCENARIO_EXECUTION_HISTORY
Create column DATASET_ID in CAMPAIGN
Create columns DATASET_ID and DATASET_VERSION in SCENARIO_EXECUTION_HISTORY
Create columns DATASET_ID and DATASET_VERSION in CAMPAIGN_EXECUTION_HISTORY
Rename column VERSION to CONTENT_VERSION
Create columns USER_ID, UPDATE_DATE and VERSION in SCENARIO
Set CREATION_DATE to CURRENT_TIMESTAMP if null and Init column UPDATE_DATE in SCENARIO from
CREATION_DATE
UPDATE SCENARIO SET CREATION_DATE = CURRENT_TIMESTAMP WHERE CREATION_DATE IS NULL
UPDATE SCENARIO SET UPDATE_DATE = CREATION_DATE
Add not nullable constraint to column UPDATE_DATE
Create column TAGS in CAMPAIGN
Remove SCHEDULE_TIME column
© 2015 - 2025 Weber Informatics LLC | Privacy Policy