Remove nickname
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user