Re-add column locked_at on migration rollback

This commit is contained in:
Oswaldo Ferreira 2017-08-07 18:09:53 -03:00
parent 16cffa97f6
commit 43b03e9c5a

View file

@ -6,6 +6,6 @@ class RemoveLockedAtColumnFromMergeRequests < ActiveRecord::Migration
end
def down
# nothing to do to recover the values
add_column :merge_requests, :locked_at, :datetime_with_timezone
end
end