Sha256: b5dde47781baecc01ad79e5ee3331aafc6000ff9ef01554485b0455bacb7144d

Contents?: true

Size: 261 Bytes

Versions: 2

Compression:

Stored size: 261 Bytes

Contents

class SandboxyMigration < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :sandboxy do |t|
      t.references :sandboxed, polymorphic: true, index: true
      t.string :environment, index: true
      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sandboxy-3.0.2 lib/generators/templates/migration.rb.erb
sandboxy-3.0.1 lib/generators/templates/migration.rb.erb