diff options
| author | Zog | 2018-05-02 10:01:13 +0200 |
|---|---|---|
| committer | Zog | 2018-05-02 10:01:13 +0200 |
| commit | ae631cbd378d5676652ed0405131442ed7fe5b35 (patch) | |
| tree | 200702ae26b81277b1bbfd991fa35320ca99f872 | |
| parent | 6779a070b8d5d6d738539f84e4405a86337f7dfb (diff) | |
| download | chouette-core-ae631cbd378d5676652ed0405131442ed7fe5b35.tar.bz2 | |
Refs #6841; Revert useless and harmful migration6841-fix-itls
| -rw-r--r-- | db/migrate/20180502075142_revert_routing_constraint_zones_stop_ids_type.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
