Sha256: b927b645f1d98fa11e6b9bdbf31da0b74f515c346ae03b23c5a5d61c5f61bafd
Contents?: true
Size: 479 Bytes
Versions: 26
Compression:
Stored size: 479 Bytes
Contents
class CreateTaskDependencies < ActiveRecord::Migration def self.up create_table "<%= options[:task_dependencies_table_name] %>" do |t| t.integer :task_id t.integer :dependent_task_id t.timestamps end add_index "<%= options[:task_dependencies_table_name] %>", :task_id add_index "<%= options[:task_dependencies_table_name] %>", :dependent_task_id end def self.down drop_table "<%= options[:task_dependencies_table_name] %>" end end
Version data entries
26 entries across 26 versions & 1 rubygems