class CreateWorkflow
Public Class Methods
down()
click to toggle source
# File lib/generators/nayati/install/templates/create_workflow.rb, line 13 def self.down drop_table :nayati_workflows end
up()
click to toggle source
# File lib/generators/nayati/install/templates/create_workflow.rb, line 2 def self.up create_table :nayati_workflows do |t| t.string :name t.integer :initial_operation_id t.string :identifier t.timestamps end add_index :nayati_workflows, :identifier end