Skip to content
Snippets Groups Projects
Commit 1f526071 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Merge branch 'rails5-mysql-rename-column' into 'master'

Rails5 MySQL fix rename_column as part of cleanup_concurrent_column_type_change for timestamps

See merge request gitlab-org/gitlab-ce!20514
parents e08d5422 7ce51548
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
---
title: Rails5 MySQL fix rename_column as part of cleanup_concurrent_column_type_change
merge_request: 20514
author: Jasper Maes
type: fixed
Loading
Loading
@@ -29,6 +29,11 @@ module ActiveRecord
def datetime_with_timezone(column_name, **options)
column(column_name, :datetime_with_timezone, options)
end
# Disable timestamp alias to datetime
def aliased_types(name, fallback)
fallback
end
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment