diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-08-07 18:09:53 -0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-08-07 18:09:53 -0300 |
commit | 43b03e9c5a6918a6106819d8819ac1088c2e7af9 (patch) | |
tree | 3bc8d7b9c549e449d6a265a76ca96268b4d7ad38 /db | |
parent | 16cffa97f64f55a16a50cf861e133021f31c828f (diff) | |
download | gitlab-ce-43b03e9c5a6918a6106819d8819ac1088c2e7af9.tar.gz |
Re-add column locked_at on migration rollback31207-clean-locked-merge-requests
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20170807160457_remove_locked_at_column_from_merge_requests.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20170807160457_remove_locked_at_column_from_merge_requests.rb b/db/post_migrate/20170807160457_remove_locked_at_column_from_merge_requests.rb index 3949cf8261a..ea3d1fb3e02 100644 --- a/db/post_migrate/20170807160457_remove_locked_at_column_from_merge_requests.rb +++ b/db/post_migrate/20170807160457_remove_locked_at_column_from_merge_requests.rb @@ -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 |