Method: Taskflow::TaskflowGenerator#migration

Defined in:
lib/generators/taskflow/taskflow_generator.rb

#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