2
0
visuddhinanda 2 жил өмнө
parent
commit
7ee29ea11f

+ 34 - 0
database/migrations/2023_07_21_122748_add_from_in_nissaya_endings.php

@@ -0,0 +1,34 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+class AddFromInNissayaEndings extends Migration
+{
+    /**
+     * Run the migrations.
+     *
+     * @return void
+     */
+    public function up()
+    {
+        Schema::table('nissaya_endings', function (Blueprint $table) {
+            //
+            $table->json('from')->nullable();
+        });
+    }
+
+    /**
+     * Reverse the migrations.
+     *
+     * @return void
+     */
+    public function down()
+    {
+        Schema::table('nissaya_endings', function (Blueprint $table) {
+            //
+            $table->dropColumn('from');
+        });
+    }
+}