Fixed DB calls for MySQL
This commit is contained in:
parent
9d7b383c4e
commit
9515017c03
|
@ -26,7 +26,7 @@ class CreateUsersTable extends Migration
|
|||
$table->rememberToken();
|
||||
$table->timestamps();
|
||||
$table->string('theme')->nullable();
|
||||
$table->unsignedBigInteger('auth_as')->nullable();
|
||||
$table->unsignedInteger('auth_as')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ use App\Models\Page;
|
|||
// Adds new column to the users table
|
||||
if (!Schema::hasColumn('users', 'auth_as')) {
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->unsignedBigInteger('auth_as')->nullable();
|
||||
$table->unsignedInteger('auth_as')->nullable();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue