Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7ce51548
Commit
7ce51548
authored
Jul 09, 2018
by
Jasper Maes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rails5 MySQL fix rename_column as part of cleanup_concurrent_column_type_change
parent
3edda4c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
changelogs/unreleased/rails5-mysql-rename-column.yml
changelogs/unreleased/rails5-mysql-rename-column.yml
+5
-0
config/initializers/active_record_table_definition.rb
config/initializers/active_record_table_definition.rb
+5
-0
No files found.
changelogs/unreleased/rails5-mysql-rename-column.yml
0 → 100644
View file @
7ce51548
---
title
:
Rails5 MySQL fix rename_column as part of cleanup_concurrent_column_type_change
merge_request
:
20514
author
:
Jasper Maes
type
:
fixed
config/initializers/active_record_table_definition.rb
View file @
7ce51548
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment