course finder view page completed
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('programs', function (Blueprint $table) {
|
||||
$table->json('fee_breakdown')->nullable();
|
||||
$table->json('course_module')->nullable();
|
||||
$table->json('quick_info')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('programs', function (Blueprint $table) {
|
||||
$table->dropColumn('fee_breakdown');
|
||||
$table->dropColumn('course_module');
|
||||
$table->dropColumn('quick_info');
|
||||
});
|
||||
}
|
||||
};
|
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('programs', function (Blueprint $table) {
|
||||
$table->json('academic_module')->nullable();
|
||||
$table->json('additional_module')->nullable();
|
||||
$table->json('application_module')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('programs', function (Blueprint $table) {
|
||||
$table->dropColumn('academic_module');
|
||||
$table->dropColumn('additional_module');
|
||||
$table->dropColumn('application_module');
|
||||
});
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user