From 18a50315ba7a18f28dbd580105b09d64f535fe44 Mon Sep 17 00:00:00 2001 From: Kiran Maniya Date: Fri, 13 Dec 2019 17:24:07 +0530 Subject: [PATCH] Removed json SQL datatype, Replaced with text The JSON SQL datatype is not supported in some of SQL server(i.e. 5.6.44). Replaced it with text datatype. --- .../migrations/2019_09_14_120124_create_media_table.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/migrations/2019_09_14_120124_create_media_table.php b/database/migrations/2019_09_14_120124_create_media_table.php index f4e18d62..182bfe8a 100644 --- a/database/migrations/2019_09_14_120124_create_media_table.php +++ b/database/migrations/2019_09_14_120124_create_media_table.php @@ -20,9 +20,9 @@ class CreateMediaTable extends Migration $table->string('mime_type')->nullable(); $table->string('disk'); $table->unsignedInteger('size'); - $table->json('manipulations'); - $table->json('custom_properties'); - $table->json('responsive_images'); + $table->text('manipulations'); + $table->text('custom_properties'); + $table->text('responsive_images'); $table->unsignedInteger('order_column')->nullable(); $table->nullableTimestamps(); });