To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / db / migrate / 042_create_issue_relations.rb @ 443:350acce374a2
History | View | Annotate | Download (394 Bytes)
| 1 |
class CreateIssueRelations < ActiveRecord::Migration |
|---|---|
| 2 |
def self.up |
| 3 |
create_table :issue_relations do |t| |
| 4 |
t.column :issue_from_id, :integer, :null => false |
| 5 |
t.column :issue_to_id, :integer, :null => false |
| 6 |
t.column :relation_type, :string, :default => "", :null => false |
| 7 |
t.column :delay, :integer |
| 8 |
end
|
| 9 |
end
|
| 10 |
|
| 11 |
def self.down |
| 12 |
drop_table :issue_relations
|
| 13 |
end
|
| 14 |
end
|