mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 23:07:26 +02:00
Adds a branch for unlimited project hierarchy.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2148 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
10
nested_projects/db/migrate/036_add_changeset_commit_date.rb
Normal file
10
nested_projects/db/migrate/036_add_changeset_commit_date.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class AddChangesetCommitDate < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :changesets, :commit_date, :date
|
||||
Changeset.update_all "commit_date = committed_on"
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :changesets, :commit_date
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user