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