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.
This commit is contained in:
Kiran Maniya
2019-12-13 17:24:07 +05:30
committed by GitHub
parent 80be7a492d
commit 18a50315ba

View File

@ -20,9 +20,9 @@ class CreateMediaTable extends Migration
$table->string('mime_type')->nullable(); $table->string('mime_type')->nullable();
$table->string('disk'); $table->string('disk');
$table->unsignedInteger('size'); $table->unsignedInteger('size');
$table->json('manipulations'); $table->text('manipulations');
$table->json('custom_properties'); $table->text('custom_properties');
$table->json('responsive_images'); $table->text('responsive_images');
$table->unsignedInteger('order_column')->nullable(); $table->unsignedInteger('order_column')->nullable();
$table->nullableTimestamps(); $table->nullableTimestamps();
}); });