added nice "error 500" pages, fixed core system migration

This commit is contained in:
Codex Agent
2025-11-15 21:11:07 +01:00
parent b56bd62cd0
commit 9835906949
7 changed files with 255 additions and 4 deletions

View File

@@ -18,12 +18,12 @@ return new class extends Migration
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->string('role')->default('super_admin')->after('password');
$table->string('role')->default('super_admin');
$table->text('two_factor_secret')->nullable();
$table->text('two_factor_recovery_codes')->nullable();
$table->timestamp('two_factor_confirmed_at')->nullable();
$table->string('username', 32)->nullable()->unique()->after('email');
$table->string('preferred_locale', 5)->default(config('app.locale', 'en'))->after('role');
$table->string('username', 32)->nullable()->unique();
$table->string('preferred_locale', 5)->default(config('app.locale', 'en'));
$table->rememberToken();
$table->timestamps();
$table->string('status')->default('active');
@@ -119,4 +119,4 @@ return new class extends Migration
Schema::dropIfExists('password_reset_tokens');
Schema::dropIfExists('users');
}
};
};