Sha256: cd1ea7150d76c8ab3052ce03d9ff28a7ca0ddc1b6f2b5ff448130e2326a3cacd

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

# This migration comes from rails_adserver (originally 20120305203049)
class AddIndexes < ActiveRecord::Migration
  def change
    add_column :rails_adserver_clicks, :rails_adserver_advertisement_id, :integer
    add_index :rails_adserver_clicks, :rails_adserver_advertisement_id, :name => 'rails_adserver_clicks_ad_id_index'
    add_column :rails_adserver_advertisements, :rails_adserver_adspace_id, :integer
    add_index :rails_adserver_advertisements, :rails_adserver_adspace_id, :name => 'rails_adserver_clicks_adspace_id_index'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_adserver-1.0.2 test/rails_app/db/migrate/20120330222248_add_indexes.rails_adserver.rb