DONE: add portal setting endpoint for admin to update

This commit is contained in:
ISMAIL MASSERAN
2026-04-23 11:40:44 +08:00
parent 051ec7f48f
commit e0b8ea77eb
12 changed files with 518 additions and 78 deletions
@@ -0,0 +1,30 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePortalSettingsTable extends Migration
{
public function up(): void
{
Schema::create('portal_settings', function (Blueprint $table) {
$table->bigIncrements('id');
$table->string('home_mat_label')->nullable();
$table->string('home_banner_image_path')->nullable();
$table->string('zoom_meeting_label')->nullable();
$table->text('zoom_subtitle')->nullable();
$table->string('zoom_image_url')->nullable();
$table->string('zoom_meeting_url')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('portal_settings');
}
}