style updates

This commit is contained in:
Mark Gregory
2026-07-24 14:59:44 +01:00
parent 24ab771cd3
commit dd23205d0b
482 changed files with 7173 additions and 1435 deletions
@@ -4,13 +4,24 @@ use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
public function up(): void {
return new class extends Migration
{
public function up(): void
{
Schema::create('settings', function (Blueprint $table): void {
$table->id(); $table->string('group')->default('general')->index(); $table->string('key');
$table->longText('value')->nullable(); $table->string('type')->default('string'); $table->boolean('is_public')->default(false);
$table->timestamps(); $table->unique(['group','key']);
$table->id();
$table->string('group')->default('general')->index();
$table->string('key');
$table->longText('value')->nullable();
$table->string('type')->default('string');
$table->boolean('is_public')->default(false);
$table->timestamps();
$table->unique(['group', 'key']);
});
}
public function down(): void { Schema::dropIfExists('settings'); }
public function down(): void
{
Schema::dropIfExists('settings');
}
};