浏览代码

attachment

dyjh 6 年之前
父节点
当前提交
86e013909a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      database/migrations/2019_04_15_104944_add_store_id_to_base_attachment.php

+ 2 - 2
database/migrations/2019_04_15_104944_add_store_id_to_base_attachment.php

xqd xqd
@@ -13,7 +13,7 @@ class AddStoreIdToBaseAttachment extends Migration
      */
     public function up()
     {
-        Schema::table('base_attachment', function (Blueprint $table) {
+        Schema::table('base_attachments', function (Blueprint $table) {
             //
             $table->unsignedInteger('store_id')->nullable()->default(0);
         });
@@ -26,7 +26,7 @@ class AddStoreIdToBaseAttachment extends Migration
      */
     public function down()
     {
-        Schema::table('base_attachment', function (Blueprint $table) {
+        Schema::table('base_attachments', function (Blueprint $table) {
             //
         });
     }