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 / .svn / pristine / 3d / 3dff9c6069908256974f3f7783cf2d5ebeafb576.svn-base @ 1298:4f746d8966dd

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