now login is using username not email
This commit is contained in:
@@ -14,7 +14,9 @@ return new class extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
//
|
||||
$table->after('name', function (Blueprint $table) {
|
||||
$table->string('username')->unique();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -26,7 +28,7 @@ return new class extends Migration
|
||||
public function down()
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
//
|
||||
$table->dropColumn('username');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user