Class: CreateWorkflowInstances
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateWorkflowInstances
- Defined in:
- lib/generators/dunlop/install/workflow/templates/migrations/create_workflow_instances.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 |
# File 'lib/generators/dunlop/install/workflow/templates/migrations/create_workflow_instances.rb', line 2 def change create_table :workflow_instances do |t| t.string :sti_type t.string :state t.datetime :archived_at t.string :bucket t.integer :workflow_instance_batch_id t.date :plan_date t. null: false end end |