From 3d1dbfc3ca4e1540bfbdcf61b9ece13506209214 Mon Sep 17 00:00:00 2001 From: kent Date: Wed, 14 Jan 2026 19:42:56 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20users.password=20=EC=BB=AC=EB=9F=BC=20nu?= =?UTF-8?q?llable=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 사원 전용 계정(시스템 로그인 불가) 지원 - 비밀번호 없이 사원 등록 시 500 에러 수정 - EmployeeService.store()에서 password null 허용 Co-Authored-By: Claude --- ..._make_password_nullable_in_users_table.php | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 database/migrations/2026_01_14_191641_make_password_nullable_in_users_table.php diff --git a/database/migrations/2026_01_14_191641_make_password_nullable_in_users_table.php b/database/migrations/2026_01_14_191641_make_password_nullable_in_users_table.php new file mode 100644 index 0000000..74eb706 --- /dev/null +++ b/database/migrations/2026_01_14_191641_make_password_nullable_in_users_table.php @@ -0,0 +1,29 @@ +string('password')->nullable()->change(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->string('password')->nullable(false)->change(); + }); + } +};