Sha256: 7d4b78ee6b61459575bea692081a87915c2449389541787faddc7f00d3e1ed64

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

class CreateSequential < ActiveRecord::Migration
  def change
    create_table(:sequential) do |t|
      t.string  :model
      t.string  :column
      t.string  :scope
      t.string  :scope_value
      t.integer :value
      t.timestamps
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
sequential-0.0.3 lib/rails/generators/sequential/setup/templates/migration.rb
sequential-0.0.3 test/dummy/db/migrate/20131104003146_create_sequential.rb