Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions db/app_wf1_prev-changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1882,6 +1882,38 @@
"rollback": [
]
}
},
{
"changeSet": {
"id": "01_01_00_02",
"author": "sparmar",
"tagDatabase": { "tag" : "version_01_01_00_02" },
"changes": [
{
"sqlFile": {
"dbms": "postgresql",
"endDelimiter": ";",
"path": "scripts/01_01_00/02/dml/app_wf1_prev.dml.delete_duplicate_mulch_method.sql"
}
},
{
"sqlFile": {
"dbms": "postgresql",
"endDelimiter": ";",
"path": "scripts/01_01_00/02/dml/app_wf1_prev.dml.update_silviculture_base_code_survey.sql"
}
},
{
"sqlFile": {
"dbms": "postgresql",
"endDelimiter": ";",
"path": "scripts/01_01_00/02/dml/app_wf1_prev.dml.add_silviculture_base.sql"
}
}
],
"rollback": [
]
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- WFPREV-893: Add Silviculture Bases

INSERT INTO wfprev.silviculture_base( silviculture_base_guid, project_type_code, silviculture_base_code, system_start_timestamp, system_end_timestamp, revision_count, create_user, create_date, update_user, update_date)
VALUES ('27a21504-351d-456f-9822-26c04088ed4f', 'FUEL_MGMT', 'PL', CURRENT_DATE, '9999-12-31', 0, 'WFPREV-893', CURRENT_DATE, 'WFPREV-893', CURRENT_DATE);
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-- WFPREV-894

-- Delete the duplicate silviculture method
DELETE FROM wfprev.silviculture_method WHERE silviculture_method_guid = '2c3d4e5f-6a7b-8c9d-0e1f-2a3b4c5d6e7f';
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- WFPREV-895: Rename Survey to Surveys

UPDATE wfprev.silviculture_base_code
SET description = 'Surveys',
update_user = 'WFPREV-895',
update_date = CURRENT_DATE,
revision_count = revision_count + 1
WHERE silviculture_base_code = 'SU';
Loading