????

Your IP : 3.147.28.158


Current Path : C:/inetpub/vhost/redmine/db/migrate/
Upload File :
Current File : C:/inetpub/vhost/redmine/db/migrate/036_add_changeset_commit_date.rb

class AddChangesetCommitDate < ActiveRecord::Migration[4.2]
  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