MariaDB JSON fix
This commit is contained in:
parent
e8478b2394
commit
f64e226703
@ -329,7 +329,7 @@ class MySQL extends SQL {
|
||||
} else if($column instanceof BoolColumn) {
|
||||
$type = "BOOLEAN";
|
||||
} else if($column instanceof JsonColumn) {
|
||||
$type = "JSON";
|
||||
$type = "LONGTEXT"; # some maria db setups don't allow JSON here…
|
||||
} else {
|
||||
$this->lastError = "Unsupported Column Type: " . get_class($column);
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user