]> git.openstreetmap.org Git - rails.git/blob - db/migrate/019_add_timestamp_indexes.rb
Runaway HTML in f28f28f24a61ce4a8956c220f04df5980d4dbd65 made all the interface BOLD
[rails.git] / db / migrate / 019_add_timestamp_indexes.rb
1 class AddTimestampIndexes < ActiveRecord::Migration
2   def self.up
3     add_index :current_ways, :timestamp, :name => :current_ways_timestamp_idx
4     add_index :current_relations, :timestamp, :name => :current_relations_timestamp_idx
5   end
6
7   def self.down
8     remove_index :current_ways, :name => :current_ways_timestamp_idx
9     remove_index :current_relations, :name => :current_relations_timestamp_idx
10   end
11 end