Skip to content

Commit

Permalink
Reformatted migration files
Browse files Browse the repository at this point in the history
  • Loading branch information
cohansen committed Sep 5, 2023
1 parent 6d3a681 commit 153f38a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
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');
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');

0 comments on commit 153f38a

Please sign in to comment.