diff options
Diffstat (limited to 'db/migrate')
| -rw-r--r-- | db/migrate/20180319043333_remove_attributes_from_models.rb | 6 | ||||
| -rw-r--r-- | db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20180319043333_remove_attributes_from_models.rb b/db/migrate/20180319043333_remove_attributes_from_models.rb new file mode 100644 index 000000000..e6de2987e --- /dev/null +++ b/db/migrate/20180319043333_remove_attributes_from_models.rb @@ -0,0 +1,6 @@ +class RemoveAttributesFromModels < ActiveRecord::Migration + def change + remove_column "vehicle_journeys", "status_value" + remove_column "journey_patterns", "section_status" + end +end diff --git a/db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb b/db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb new file mode 100644 index 000000000..d75336673 --- /dev/null +++ b/db/migrate/20180326085804_bind_exports_and_imports_types_to_workgroups.rb @@ -0,0 +1,6 @@ +class BindExportsAndImportsTypesToWorkgroups < ActiveRecord::Migration + def change + add_column :workgroups, "import_types", :string, default: [], array: true + add_column :workgroups, "export_types", :string, default: [], array: true + end +end |
