mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 20:11:36 +01:00
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@1200 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 lines
394 B
Ruby
15 lines
394 B
Ruby
class CreateIssueRelations < ActiveRecord::Migration
|
|
def self.up
|
|
create_table :issue_relations do |t|
|
|
t.column :issue_from_id, :integer, :null => false
|
|
t.column :issue_to_id, :integer, :null => false
|
|
t.column :relation_type, :string, :default => "", :null => false
|
|
t.column :delay, :integer
|
|
end
|
|
end
|
|
|
|
def self.down
|
|
drop_table :issue_relations
|
|
end
|
|
end
|