From 59804f63edba44d8a73b08819cfe9cbbf1237000 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Thu, 4 Apr 2024 15:22:59 +0300 Subject: [PATCH] Update 2024_04_02_173942_create_authentication_log_table.php --- .../2024_04_02_173942_create_authentication_log_table.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/database/migrations/2024_04_02_173942_create_authentication_log_table.php b/web/database/migrations/2024_04_02_173942_create_authentication_log_table.php index 298e8b8..1b125e4 100644 --- a/web/database/migrations/2024_04_02_173942_create_authentication_log_table.php +++ b/web/database/migrations/2024_04_02_173942_create_authentication_log_table.php @@ -20,4 +20,9 @@ return new class extends Migration $table->json('location')->nullable(); }); } + + public function down(): void + { + Schema::dropIfExists(config('authentication-log.table_name')); + } };