From 0a29ce6d0a55e6413dacdb6f0da75a1c6614ecfc Mon Sep 17 00:00:00 2001 From: KalebSchmidlkofer Date: Mon, 30 Dec 2024 20:01:59 -0800 Subject: [PATCH] fix: make external_id nullable to fix user creation error --- ...12_31_035423_make_external_id_nullable.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2024_12_31_035423_make_external_id_nullable.php diff --git a/database/migrations/2024_12_31_035423_make_external_id_nullable.php b/database/migrations/2024_12_31_035423_make_external_id_nullable.php new file mode 100644 index 000000000..f5d0dd0b2 --- /dev/null +++ b/database/migrations/2024_12_31_035423_make_external_id_nullable.php @@ -0,0 +1,28 @@ +string('external_id')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->string('external_id')->nullable(false)->change(); + }); + } +};