update variant

This commit is contained in:
Edward Yang 2022-07-07 18:43:20 +08:00
parent dfbd3cc04d
commit a64bff4f6f
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ class CreateTables extends Migration
Schema::create('product_skus', function (Blueprint $table) {
$table->id()->startingValue(100_000);
$table->unsignedBigInteger('product_id');
$table->string('variants')->nullable();
$table->json('variants')->nullable();
$table->integer('position')->default(0);
$table->string('image')->default('');
$table->string('model')->default('');