Sha256: 3c2e0366e7d1d2129c009e0a208ec3f2bf01ecf51ef7a4214a94ce89f26b0440

Contents?: true

Size: 200 Bytes

Versions: 71

Compression:

Stored size: 200 Bytes

Contents

class RemoveKlassFromStores < ActiveRecord::Migration
  def change
    remove_column :stores, :klass
    add_index :stores, [:collection, :storable_id, :storable_type], name: 'idx_storable'
  end
end

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
udongo-7.9.0 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.8.1 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.8.0 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.7.2 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.7.1 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.7.0 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.6.2 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.6.1 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.6.0 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.5.1 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.5.0 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.4.2 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.4.1 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.4.0 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.3.5 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.3.4 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.3.3 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.3.2 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.3.1 db/migrate/20160601115312_remove_klass_from_stores.rb
udongo-7.2.1 db/migrate/20160601115312_remove_klass_from_stores.rb