|
|
@@ -129,6 +129,11 @@ class PostgresSchema extends BaseSchema
|
|
|
) {
|
|
|
return ['type' => 'decimal', 'length' => null];
|
|
|
}
|
|
|
+
|
|
|
+ if (strpos($col, 'json') !== false) {
|
|
|
+ return ['type' => 'json', 'length' => null];
|
|
|
+ }
|
|
|
+
|
|
|
return ['type' => 'text', 'length' => null];
|
|
|
}
|
|
|
|