##// END OF EJS Templates
#1921, pt translation...
#1921, pt translation git-svn-id: http://redmine.rubyforge.org/svn/trunk@1897 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r470:941a240535ac
r1895:fbf2646426f4
Show More
040_create_changesets_issues.rb
13 lines | 418 B | text/x-ruby | RubyLexer
/ db / migrate / 040_create_changesets_issues.rb
class CreateChangesetsIssues < ActiveRecord::Migration
def self.up
create_table :changesets_issues, :id => false do |t|
t.column :changeset_id, :integer, :null => false
t.column :issue_id, :integer, :null => false
end
add_index :changesets_issues, [:changeset_id, :issue_id], :unique => true, :name => :changesets_issues_ids
end
def self.down
drop_table :changesets_issues
end
end