1
0
espelhamento de https://github.com/redmine/redmine.git sincronizado 2024-07-27 07:37:45 +02:00
redmine/db/migrate/036_add_changeset_commit_date.rb
2007-03-26 16:41:54 +00:00

11 linhas
248 B
Ruby

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