Class: CreateWorkflowInstanceBatches
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateWorkflowInstanceBatches
- Defined in:
- lib/generators/dunlop/install/workflow/templates/migrations/create_workflow_instance_batches.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
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. null: false end end |