Fix column type in user binding migration

This commit is contained in:
Bubka 2023-02-25 22:25:28 +01:00
parent 1788887f85
commit e6e49ef829

View File

@ -15,7 +15,7 @@ return new class extends Migration
public function up() public function up()
{ {
Schema::table('twofaccounts', function (Blueprint $table) { Schema::table('twofaccounts', function (Blueprint $table) {
$table->unsignedInteger('user_id') $table->unsignedBigInteger('user_id')
->after('id') ->after('id')
->nullable(); ->nullable();
@ -23,7 +23,7 @@ return new class extends Migration
}); });
Schema::table('groups', function (Blueprint $table) { Schema::table('groups', function (Blueprint $table) {
$table->unsignedInteger('user_id') $table->unsignedBigInteger('user_id')
->after('id') ->after('id')
->nullable(); ->nullable();