added nice "error 500" pages, fixed core system migration
This commit is contained in:
@@ -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');
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user