1 # frozen_string_literal: true
3 class AddTimestampIndexes < ActiveRecord::Migration[4.2]
5 add_index :current_ways, :timestamp, :name => :current_ways_timestamp_idx
6 add_index :current_relations, :timestamp, :name => :current_relations_timestamp_idx
10 remove_index :current_ways, :name => :current_ways_timestamp_idx
11 remove_index :current_relations, :name => :current_relations_timestamp_idx