Sha256: 0345988aefc57778ae647455835d36e57d8ca8da8411cd6a81ee443517e6de52

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

class AddAdvertisementIndexes < ActiveRecord::Migration
  def change
      add_index :rails_adserver_advertisements, :param_restriction
      add_index :rails_adserver_advertisements, :city_name
      add_index :rails_adserver_advertisements, :state_name
      add_index :rails_adserver_advertisements, :country_name
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_adserver-1.0.2 db/migrate/20120306065447_add_advertisement_indexes.rb
rails_adserver-1.0.1 db/migrate/20120306065447_add_advertisement_indexes.rb
rails_adserver-1.0.0 db/migrate/20120306065447_add_advertisement_indexes.rb