course finder view page completed

This commit is contained in:
2025-08-06 17:55:22 +05:45
parent 6772e269fb
commit 59e5392370
16 changed files with 3856 additions and 2435 deletions

View File

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

View File

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