Sha256: e751e186436234351d4d4478a2dfd84b3fcea445945c7a47ce1f935584a839de
Contents?: true
Size: 535 Bytes
Versions: 3
Compression:
Stored size: 535 Bytes
Contents
class ChangeIndexes < ActiveRecord::Migration def change remove_index :rails_adserver_clicks, :name => 'rails_adserver_clicks_ad_id_index' remove_index :rails_adserver_advertisements, :name => 'rails_adserver_clicks_adspace_id_index' remove_column :rails_adserver_clicks, :rails_adserver_advertisement_id remove_column :rails_adserver_advertisements, :rails_adserver_adspace_id add_column :rails_adserver_clicks, :advertisement_id, :integer add_index :rails_adserver_clicks, :advertisement_id end end
Version data entries
3 entries across 3 versions & 1 rubygems