Sha256: 46af0c0b4cebc3aaf86f233344ba352c9416a152419af70e43216d5eb87cea13

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

class CreateCommissions < ActiveRecord::Migration[4.2]
  def change
    create_table :commissions do |t|
      t.string :name
      t.date :issued_on
      t.text :description
      t.string :code

      t.timestamps null: false
    end
    add_index :commissions, :name
    add_index :commissions, :code
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mobilart_models-1.2.14 db/migrate/20150825175219_create_commissions.rb