-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1156 from NASA-AMMOS/fix/schema-mismatch-constraints
Standardize the cached Constraint results to match action results
- Loading branch information
Showing
4 changed files
with
12 additions
and
3 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
4 changes: 4 additions & 0 deletions
4
deployment/hasura/migrations/AerieMerlin/29_synchronize_cache_schema/down.sql
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,4 @@ | ||
-- The JSON schema of the constraint violations in constraint_run is changed. | ||
-- Because the table is a cache it is safer to clear it than to attempt to transform it using SQL | ||
truncate constraint_run; | ||
call migrations.mark_migration_rolled_back('29'); |
4 changes: 4 additions & 0 deletions
4
deployment/hasura/migrations/AerieMerlin/29_synchronize_cache_schema/up.sql
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,4 @@ | ||
-- The JSON schema of the constraint violations in constraint_run is changed. | ||
-- Because the table is a cache it is safer to clear it than to attempt to transform it using SQL | ||
truncate constraint_run; | ||
call migrations.mark_migration_applied('29'); |
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