Skip to content

Commit

Permalink
fix: reset swrs_report_version to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
dleard committed Apr 28, 2021
1 parent 5b85c43 commit 8fcc221
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions schema/deploy/tables/application_004.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Deploy ggircs-portal:tables/application_004 to pg
-- requires: tables/application_003

begin;

update ggircs_portal.application set swrs_report_version=1;

commit;
7 changes: 7 additions & 0 deletions schema/revert/tables/application_004.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Revert ggircs-portal:tables/application_004 from pg

begin;

-- No revert necessary

commit;
2 changes: 2 additions & 0 deletions schema/sqitch.plan
Original file line number Diff line number Diff line change
Expand Up @@ -324,3 +324,5 @@ types/production_form_data [schema_ggircs_portal] 2021-04-28T16:55:58Z Dylan Lea
computed_columns/application_revision_production_form_data [tables/application_revision tables/form_result] 2021-04-28T16:59:56Z Dylan Leard <dylan@button.is> # Computed column to retrive the production data for an application revision
trigger_functions/ensure_window_open_submit_application_status [trigger_functions/ensure_window_open_submit_application_status@v2.2.0] 2021-04-28T20:58:50Z Dylan Leard <dylan@button.is> # Migration: only check version 1 in trigger (ignore v0)
@v2.3.0 2021-04-28T21:29:52Z Matthieu Foucault <matthieu@button.is> # release v2.3.0

tables/application_004 [tables/application_003] 2021-04-28T23:11:07Z Dylan Leard <dylan@button.is> # Migration: reset swrs_report_version to 1 (was set to current in last migration, which blocked updating via refresh_swrs_version_data())
7 changes: 7 additions & 0 deletions schema/verify/tables/application_004.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- Verify ggircs-portal:tables/application_004 on pg

begin;

-- no verify necessary.

rollback;

0 comments on commit 8fcc221

Please sign in to comment.