feat: Implement Counselor management with CRUD functionality and associated views

This commit is contained in:
2025-08-19 17:28:23 +05:45
parent 3262e279a8
commit 6f16c1230f
12 changed files with 369 additions and 12 deletions

View File

@@ -0,0 +1,33 @@
<?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::create('counselors', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->text('address')->nullable();
$table->string('email')->nullable();
$table->string('contact')->nullable();
$table->string('test_score')->nullable();
$table->string('qualification')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('counselors');
}
};