Luca Parisio 10 месяцев назад
Родитель
Сommit
ad34070078

+ 0 - 36
database/migrations/2025_03_07_173000_ass_fields_to_create_course_table.php

@@ -1,36 +0,0 @@
-<?php
-
-use Illuminate\Database\Migrations\Migration;
-use Illuminate\Database\Schema\Blueprint;
-use Illuminate\Support\Facades\Schema;
-
-return new class extends Migration
-{
-    /**
-     * Run the migrations.
-     *
-     * @return void
-     */
-    public function up()
-    {
-        Schema::table('courses', function (Blueprint $table) {
-            $table->json('when')->nullable();
-            $table->json('prices')->nullable();
-            $table->enum('type', ['standard', 'custom']);
-        });
-    }
-
-    /**
-     * Reverse the migrations.
-     *
-     * @return void
-     */
-    public function down()
-    {
-        Schema::table('courses', function (Blueprint $table) {
-            $table->dropColumn('when');
-            $table->dropColumn('prices');
-            $table->dropColumn('type');
-        });
-    }
-};