summaryrefslogtreecommitdiffstats
path: root/db/migrate/036_add_changeset_commit_date.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/036_add_changeset_commit_date.rb')
-rw-r--r--db/migrate/036_add_changeset_commit_date.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/036_add_changeset_commit_date.rb b/db/migrate/036_add_changeset_commit_date.rb
index b9cc49b84..90ce52466 100644
--- a/db/migrate/036_add_changeset_commit_date.rb
+++ b/db/migrate/036_add_changeset_commit_date.rb
@@ -1,4 +1,4 @@
-class AddChangesetCommitDate < ActiveRecord::Migration
+class AddChangesetCommitDate < ActiveRecord::Migration[4.2]
def self.up
add_column :changesets, :commit_date, :date
Changeset.update_all "commit_date = committed_on"