]> _ Git - psq.git/commitdiff
Revert "Create 2020_04_13_195828_drop_tags_col_from_collections.php"
authorLouis Jeckel <louis.jeckel@outlook.cm>
Tue, 14 Apr 2020 08:12:33 +0000 (10:12 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Tue, 14 Apr 2020 08:12:33 +0000 (10:12 +0200)
This reverts commit b79a375fed74b2849639ad955caa54439ccace8f.

database/migrations/2020_04_13_195828_drop_tags_col_from_collections.php [deleted file]

diff --git a/database/migrations/2020_04_13_195828_drop_tags_col_from_collections.php b/database/migrations/2020_04_13_195828_drop_tags_col_from_collections.php
deleted file mode 100644 (file)
index 665adbb..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-use Illuminate\Database\Migrations\Migration;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Support\Facades\Schema;
-
-class DropTagsColFromCollections extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('collections', function (Blueprint $table) {
-            $table->dropColumn('tags');
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('collections', function (Blueprint $table) {
-            $table->json('tags');
-            //
-        });
-    }
-}