From ae631cbd378d5676652ed0405131442ed7fe5b35 Mon Sep 17 00:00:00 2001 From: Zog Date: Wed, 2 May 2018 10:01:13 +0200 Subject: Refs #6841; Revert useless and harmful migration --- ...0180502075142_revert_routing_constraint_zones_stop_ids_type.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20180502075142_revert_routing_constraint_zones_stop_ids_type.rb diff --git a/db/migrate/20180502075142_revert_routing_constraint_zones_stop_ids_type.rb b/db/migrate/20180502075142_revert_routing_constraint_zones_stop_ids_type.rb new file mode 100644 index 000000000..e5213a520 --- /dev/null +++ b/db/migrate/20180502075142_revert_routing_constraint_zones_stop_ids_type.rb @@ -0,0 +1,8 @@ +class RevertRoutingConstraintZonesStopIdsType < ActiveRecord::Migration + def change + reversible do |dir| + dir.up { change_column :routing_constraint_zones, :stop_point_ids, :bigint, array: true } + dir.down { change_column :routing_constraint_zones, :stop_point_ids, :integer, array: true } + end + end +end -- cgit v1.2.3