Remove nickname

This commit is contained in:
2026-01-08 16:13:43 +01:00
parent e100f3bf23
commit b1c48830c4
12 changed files with 20 additions and 50 deletions

View File

@@ -26,14 +26,16 @@ return new class extends Migration
$table->dropColumn('public_flags');
$table->dropColumn('verified');
$table->dropColumn('mfa_enabled');
$table->dropColumn('global_name');
$table->dropColumn('locale');
});
// Change & Add Columns
Schema::table('users', function (Blueprint $table) {
// Rename
$table->renameColumn('username', 'name');
$table->renameColumn('global_name', 'discord_name');
$table->renameColumn('avatar', 'discord_avatar');
$table->string('avatar')->nullable()->after('email');
// Re-Add Email verification
$table->timestamp('email_verified_at')->nullable()->after('email');