mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 04:04:45 +02:00
This is amazing, this bug was apparently fixed
This commit is contained in:
parent
0eef1c9bbc
commit
7df31a1eeb
@ -16,11 +16,11 @@ return new class extends Migration
|
|||||||
public function up(): void
|
public function up(): void
|
||||||
{
|
{
|
||||||
Schema::table('users', function (Blueprint $table) {
|
Schema::table('users', function (Blueprint $table) {
|
||||||
$table->string('external_id')->default(null)->change();
|
$table->string('external_id')->nullable()->default(null)->change();
|
||||||
});
|
});
|
||||||
|
|
||||||
DB::transaction(function () {
|
DB::transaction(function () {
|
||||||
DB::table('users')->where('external_id', '=', 'NULL')->update([
|
DB::table('users')->where('external_id', 'NULL')->update([
|
||||||
'external_id' => null,
|
'external_id' => null,
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user