@@ -1,10 +1,10 | |||
|
1 | 1 | class AddChangesetCommitDate < ActiveRecord::Migration |
|
2 | 2 | def self.up |
|
3 |
add_column :changesets, :commit_date, :date |
|
|
3 | add_column :changesets, :commit_date, :date | |
|
4 | 4 | Changeset.update_all "commit_date = committed_on" |
|
5 | 5 | end |
|
6 | 6 | |
|
7 | 7 | def self.down |
|
8 | 8 | remove_column :changesets, :commit_date |
|
9 | 9 | end |
|
10 | 10 | end |
General Comments 0
You need to be logged in to leave comments.
Login now