Class: CreateWorkflow
- Inherits:
-
Object
- Object
- CreateWorkflow
- Defined in:
- lib/generators/burstflow/install/templates/create_workflow.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/generators/burstflow/install/templates/create_workflow.rb', line 3 def change enable_extension 'pgcrypto' create_table :burstflow_workflows, id: :uuid do |t| t.string :type, index: true t.string :status, index: true t.jsonb :flow, null: false, default: {} t. end end |