-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add override column to application_revision table
- Loading branch information
Showing
4 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- Deploy ggircs-portal:tables/application_revision_001 to pg | ||
-- requires: tables/application_revision | ||
|
||
begin; | ||
|
||
alter table ggircs_portal.application_revision add column override_justification varchar(10000) default ''; | ||
|
||
comment on column ggircs_portal.application_revision.override_justification is 'Reporter defined justification for overriding error validation when submitting this revision'; | ||
|
||
commit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- Revert ggircs-portal:tables/application_revision_001 from pg | ||
|
||
begin; | ||
|
||
alter table ggircs_portal.application_revision drop column override_justification; | ||
|
||
commit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- Verify ggircs-portal:tables/application_revision_001 on pg | ||
|
||
begin; | ||
|
||
select column_name | ||
from information_schema.columns | ||
where table_schema='ggircs_portal' and table_name='application_revision' and column_name='override_justification'; | ||
|
||
rollback; |