Sha256: 05000e2b04edaa77f7988ae7064dcbb9f5045cfb1485ac537bcdc3b297fbd53e

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

class CreateWorkflows < ActiveRecord::Migration[4.2]
  def change
    create_table :workflows do |t|
      t.string :statuses
      t.references :chosen_item, index: true, foreign_key: true
      t.references :user, index: true, foreign_key: true
      t.text :description

      t.timestamps null: false
    end
    add_index :workflows, :statuses
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mobilart_models-1.2.14 db/migrate/20150828180910_create_workflows.rb