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

Merge pull request #23519 from kamipo/mariadb_does_not_support_json_type

MariaDB does not support JSON type
This commit is contained in:
Sean Griffin 2016-02-06 14:44:45 -07:00
commit 8526e9bed2

View file

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