diaspora/db/migrate/20110907205720_add_indexes_to_serivces.rb
2011-09-07 14:00:39 -07:00

9 lines
192 B
Ruby

class AddIndexesToSerivces < ActiveRecord::Migration
def self.up
add_index :services, [:type, :uid]
end
def self.down
remove_index :services, :column => [:type, :uid]
end
end