##// END OF EJS Templates
Fixed Trac importer error with Rails 2.0: readonly? is defined by ActiveRecord....
Fixed Trac importer error with Rails 2.0: readonly? is defined by ActiveRecord. git-svn-id: http://redmine.rubyforge.org/svn/trunk@995 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r503:92b02014d21f
r982:d1a3fbea4087
Show More
042_create_issue_relations.rb
14 lines | 394 B | text/x-ruby | RubyLexer
/ db / migrate / 042_create_issue_relations.rb
Jean-Philippe Lang
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:...
r503 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