|
@@ -16,7 +16,7 @@ class CreateCmsSubjectProductTable extends Migration
|
|
Schema::create('cms_subject_product', function (Blueprint $table) {
|
|
Schema::create('cms_subject_product', function (Blueprint $table) {
|
|
$table->bigIncrements('id');
|
|
$table->bigIncrements('id');
|
|
$table->integer('sort')->comment('商品排序');
|
|
$table->integer('sort')->comment('商品排序');
|
|
- $table->integer('product_id',20)->comment('商品ID');
|
|
|
|
|
|
+ $table->integer('product_id')->comment('商品ID');
|
|
$table->timestamps();
|
|
$table->timestamps();
|
|
$table->softDeletes();
|
|
$table->softDeletes();
|
|
});
|
|
});
|