Parcourir la source

delete subject_id

durong il y a 5 ans
Parent
commit
6f3e1d5896

+ 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']);
-        });
-    }
-}