string('xguard_sub', 64)->nullable()->unique()->after('id'); $table->string('password')->nullable()->change(); }); } public function down(): void { Schema::table('users', function (Blueprint $table) { $table->dropUnique(['xguard_sub']); $table->dropColumn('xguard_sub'); }); } };