瀏覽代碼

delete subject_id

durong 5 年之前
父節點
當前提交
6f3e1d5896
共有 1 個文件被更改,包括 0 次插入32 次删除
  1. 0 32
      database/migrations/2019_04_28_072523_add_cms_subject_product_table.php

+ 0 - 32
database/migrations/2019_04_28_072523_add_cms_subject_product_table.php

@@ -1,32 +0,0 @@
-<?php
-
-use Illuminate\Support\Facades\Schema;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Database\Migrations\Migration;
-
-class AddCmsSubjectProductTable extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('cms_subject_product', function (Blueprint $table) {
-            $table->integer('subject_id')->comment('专题ID');
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('cms_subject_product', function (Blueprint $table) {
-            $table->dropColumn(['subject_id']);
-        });
-    }
-}