Class: CreateTaskflowFlows
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateTaskflowFlows
- Defined in:
- lib/generators/templates/create_taskflow_flows.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/generators/templates/create_taskflow_flows.rb', line 2 def change create_table :taskflow_flows do |t| t.string :name t.string :klass t.string :state t.string :category t.string :result t.string :launched_by t.string :halt_by t.text :input t.float :progress t.datetime :started_at t.datetime :ended_at t.text :next_config end end |