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) {
|
} else if($column instanceof BoolColumn) {
|
||||||
$type = "BOOLEAN";
|
$type = "BOOLEAN";
|
||||||
} else if($column instanceof JsonColumn) {
|
} else if($column instanceof JsonColumn) {
|
||||||
$type = "JSON";
|
$type = "LONGTEXT"; # some maria db setups don't allow JSON here…
|
||||||
} else {
|
} else {
|
||||||
$this->lastError = "Unsupported Column Type: " . get_class($column);
|
$this->lastError = "Unsupported Column Type: " . get_class($column);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user