-
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.
- Loading branch information
Showing
2 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
12 changes: 4 additions & 8 deletions
12
deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/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 |
---|---|---|
@@ -1,14 +1,10 @@ | ||
alter table activity_type | ||
rename column parameter_definitions to parameters; | ||
alter table activity_type | ||
rename column computed_attribute_definitions to computed_attribute_value_schema; | ||
alter table activity_type rename column parameter_definitions to parameters; | ||
alter table activity_type rename column computed_attribute_definitions to computed_attribute_value_schema; | ||
|
||
alter table resource_type | ||
rename column definition to schema; | ||
alter table resource_type rename column definition to schema; | ||
comment on column resource_type.definition is e'' | ||
'The structure of this resource type.'; | ||
|
||
alter table mission_model_parameters | ||
rename column parameter_definitions to parameters; | ||
alter table mission_model_parameters rename column parameter_definitions to parameters; | ||
|
||
call migrations.mark_migration_rolled_back('26'); |
12 changes: 4 additions & 8 deletions
12
deployment/hasura/migrations/AerieMerlin/26_add_units_to_activity_types/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 |
---|---|---|
@@ -1,14 +1,10 @@ | ||
alter table activity_type | ||
rename column parameters to parameter_definitions; | ||
alter table activity_type | ||
rename column computed_attribute_value_schema to computed_attribute_definitions; | ||
alter table activity_type rename column parameters to parameter_definitions; | ||
alter table activity_type rename column computed_attribute_value_schema to computed_attribute_definitions; | ||
|
||
alter table resource_type | ||
rename column schema to definition; | ||
alter table resource_type rename column schema to definition; | ||
comment on column resource_type.definition is e'' | ||
'The definition including the structure of this resource type.'; | ||
|
||
alter table mission_model_parameters | ||
rename column parameters to parameter_definitions; | ||
alter table mission_model_parameters rename column parameters to parameter_definitions; | ||
|
||
call migrations.mark_migration_applied('26'); |