To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 9b / 9b06adeab6238e14cb6f2276e3a4420bf5278a74.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (248 Bytes)

1
class AddChangesetCommitDate < ActiveRecord::Migration
2
  def self.up
3
    add_column :changesets, :commit_date, :date
4
    Changeset.update_all "commit_date = committed_on"
5
  end
6

    
7
  def self.down
8
    remove_column :changesets, :commit_date
9
  end
10
end