Sha256: 9315cbd7abe1e51d433e6c959f3135b7798ce41b2312b1ef380046b247088e9e

Contents?: true

Size: 253 Bytes

Versions: 5

Compression:

Stored size: 253 Bytes

Contents

class CreateEntity < ActiveRecord::Migration[5.1]
  def change
    create_table :entities do |t|
      t.string :title
      t.integer :amount
      t.integer :kind
      t.string :status
      t.boolean :confirmed

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sample_filter-0.1.4 spec/dummy/db/migrate/20171027033358_create_entity.rb
sample_filter-0.1.3 spec/dummy/db/migrate/20171027033358_create_entity.rb
sample_filter-0.1.2 spec/dummy/db/migrate/20171027033358_create_entity.rb
sample_filter-0.1.1 spec/dummy/db/migrate/20171027033358_create_entity.rb
sample_filter-0.1.0 spec/dummy/db/migrate/20171027033358_create_entity.rb