1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

MariaDB does not support JSON type

Fixes #22980.
This commit is contained in:
Ryuta Kamizono 2016-02-06 17:28:17 +09:00
parent b9a95456a5
commit d9bdc2f9ef

View file

@ -42,7 +42,7 @@ module ActiveRecord
end
def supports_json?
version >= '5.7.8'
!mariadb? && version >= '5.7.8'
end
# HELPER METHODS ===========================================