Class: Taskflow::TaskflowGenerator

Inherits:
ActiveRecord::Generators::Base
  • Object
show all
Includes:
Rails::Generators::ResourceHelpers
Defined in:
lib/generators/taskflow/taskflow_generator.rb

Instance Method Summary collapse

Instance Method Details

#migrationObject



16
17
18
19
20
21
22
# File 'lib/generators/taskflow/taskflow_generator.rb', line 16

def migration
    migration_template "create_taskflow_flows.rb", "db/migrate/create_taskflow_flows.rb"
    migration_template "create_taskflow_tasks.rb", "db/migrate/create_taskflow_tasks.rb"
    migration_template "create_taskflow_loggers.rb", "db/migrate/create_taskflow_loggers.rb"
    migration_template "create_taskflow_records.rb", "db/migrate/create_taskflow_records.rb"
    migration_template "create_taskflow_relation.rb", "db/migrate/create_taskflow_relation.rb"
end