Sha256: 0add70ab0f896196619330ff15affb07f1052aba05238e03fa5c23bc6a376f11

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 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

1 entries across 1 versions & 1 rubygems

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