mirror of
https://github.com/redmine/redmine.git
synced 2024-08-26 05:57:38 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
Keywords and the status to apply to fixed issues can be defined in Admin -> Settings. Default keywords: - for referencing issues: refs, references, IssueID - for fixing issues: fixes,closes There's no default status defined for fixed issue. You'll have to specify it if you want to enable auto closure of issues. Example of a working commit message: "This commit references #1, #2 and fixes #3" git-svn-id: http://redmine.rubyforge.org/svn/trunk@473 e93f8b46-1217-0410-a6f0-8f06a7374b81
14 lines
418 B
Ruby
14 lines
418 B
Ruby
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
|