Class: CreateFlowStateFlows
- Inherits:
-
Object
- Object
- CreateFlowStateFlows
- Defined in:
- lib/generators/flow_state/templates/create_flow_state_flows.rb
Overview
Table for flow runs
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/generators/flow_state/templates/create_flow_state_flows.rb', line 5 def change create_table :flow_state_flows do |t| t.string :type, null: false t.string :current_state, null: false t.datetime :completed_at t.datetime :last_errored_at t.json :props t. end end |