Class: CreateTaskflowRelation

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/templates/create_taskflow_relation.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
5
6
7
8
9
# File 'lib/generators/templates/create_taskflow_relation.rb', line 2

def change
    create_table :taskflow_relation, :id=>false do |t|
        t.integer :downstream_id
        t.integer :upstream_id
        t.integer :task_id
    end

end