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:
commit
8526e9bed2
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
def supports_json?
|
||||
version >= '5.7.8'
|
||||
!mariadb? && version >= '5.7.8'
|
||||
end
|
||||
|
||||
# HELPER METHODS ===========================================
|
||||
|
|
Loading…
Reference in a new issue