Enhance Group and Document resources; add leader and helper teacher relationships, update navigation icons, and adjust navigation sorting.

This commit is contained in:
nurmuhammet committed 2025-08-30 17:21:47 +05:00
1 parent 18e425f533
commit 710554a28d
24 files changed
+760 -11

No files matched your search

@@ -0,0 +1,30 @@
<?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('teachers', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('photo')->nullable();
$table->text('bio')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('teachers');
}
};