Sha256: 20f50cce5fc5559daa58e2b1110bb13d6cf321ce606766931f112d10ace60422

Contents?: true

Size: 209 Bytes

Versions: 7

Compression:

Stored size: 209 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def up
    add_index :references, :record_type, :unique => false
  end

  def down
    remove_index :references, :column => :record_type
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
acts_as_cleo-3.0.0 lib/generators/acts_as_cleo/install/templates/update.rb
acts_as_cleo-2.4.5 lib/generators/acts_as_cleo/install/templates/update.rb
acts_as_cleo-2.4.4 lib/generators/acts_as_cleo/install/templates/update.rb
acts_as_cleo-2.4.3 lib/generators/acts_as_cleo/install/templates/update.rb
acts_as_cleo-2.4.2 lib/generators/acts_as_cleo/install/templates/update.rb
acts_as_cleo-2.4.1 lib/generators/acts_as_cleo/install/templates/update.rb
acts_as_cleo-2.4.0 lib/generators/acts_as_cleo/install/templates/update.rb