Sha256: b69e5e0515ad8bce64749fa30fee35be03b70c82d6c1e1792552dfdce17c0c74

Contents?: true

Size: 253 Bytes

Versions: 12

Compression:

Stored size: 253 Bytes

Contents

class <%= migration_class_name %> < ActiveRecord::Migration
  def self.up
    create_table :cleo_references do
      t.timestamps
      t.string :record_type
      t.integer :record_id
    end
  end

  def down
    drop_table :cleo_references
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
acts_as_cleo-2.3.0 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-2.2.1 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-2.2.0 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-2.1.2 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-2.1.1 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-2.1.0 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-2.0.1 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-2.0.0 lib/generators/acts_as_cleo/install/templates/install.rb
acts_as_cleo-1.2.0 lib/generators/acts_as_cleo/templates/install.rb
acts_as_cleo-1.1.0 lib/generators/acts_as_cleo/templates/install.rb
acts_as_cleo-1.0.0 lib/generators/acts_as_cleo/templates/install.rb
acts_as_cleo-0.0.4 lib/generators/acts_as_cleo/templates/install.rb