feat: add Website Settings, Imap Settings and Configuration Settings via inerba/filament-db-config

This commit is contained in:
idevakk
2025-11-16 10:56:48 -08:00
parent 4615d384be
commit e3da8cf950
9 changed files with 506 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
$tableName = config('db-config.table_name', 'db_config');
Schema::create($tableName, function (Blueprint $table) {
$table->id();
$table->string('group');
$table->string('key');
$table->json('settings')->nullable();
$table->unique(['group', 'key']);
$table->timestamps();
});
}
};