peilaus alkaen
https://github.com/redmine/redmine.git
synced 2024-07-27 20:19:39 +02:00
3b55f65407
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 rivejä
399 B
Ruby
15 rivejä
399 B
Ruby
class CreateIssueRelations < ActiveRecord::Migration[4.2]
|
|
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
|