mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +01:00
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->rememberToken();
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
$table->string('theme')->nullable();
|
$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
|
// Adds new column to the users table
|
||||||
if (!Schema::hasColumn('users', 'auth_as')) {
|
if (!Schema::hasColumn('users', 'auth_as')) {
|
||||||
Schema::table('users', function (Blueprint $table) {
|
Schema::table('users', function (Blueprint $table) {
|
||||||
$table->unsignedBigInteger('auth_as')->nullable();
|
$table->unsignedInteger('auth_as')->nullable();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user