To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 042_create_issue_relations.rb @ 441:cbce1fd3b1b7

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