Class: CreateWorkflowInstanceBatches

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/dunlop/install/workflow/templates/migrations/create_workflow_instance_batches.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
10
# File 'lib/generators/dunlop/install/workflow/templates/migrations/create_workflow_instance_batches.rb', line 2

def change
  create_table :workflow_instance_batches do |t|
    t.string :sti_type
    t.string :state
    t.date :plan_date
    t.string :name
    t.timestamps null: false
  end
end