瀏覽代碼

更新 'manage-server/database/migrations/2018_09_22_180621_create_product_pages_table.php'

修改top类型
chenxiqiang 6 年之前
父節點
當前提交
ff52509679
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      manage-server/database/migrations/2018_09_22_180621_create_product_pages_table.php

+ 3
- 3
manage-server/database/migrations/2018_09_22_180621_create_product_pages_table.php 查看文件

@@ -16,9 +16,9 @@ class CreateProductPagesTable extends Migration
16 16
         Schema::create('product_pages', function (Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->timestamps();
19
-            $table->unsignedInteger('top1');
20
-            $table->unsignedInteger('top2');
21
-            $table->unsignedInteger('top3');
19
+            $table->string('top1');
20
+            $table->string('top2');
21
+            $table->string('top3');
22 22
         });
23 23
     }
24 24
 

Loading…
取消
儲存