OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/db/migrate/036_add_changeset_commit_da...

10 lines
248 B

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