From ab213f69ecedc845a0ee3b4bf8bff88b83d2f2d5 Mon Sep 17 00:00:00 2001 From: Konstantinos Arvanitakis Date: Fri, 3 Jul 2026 17:16:30 +0300 Subject: [PATCH] Feat: Adding Migration for otp to lunar_customers --- ...00001_add_otp_to_lunar_customers_table.php | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 database/migrations/2026_06_24_000001_add_otp_to_lunar_customers_table.php diff --git a/database/migrations/2026_06_24_000001_add_otp_to_lunar_customers_table.php b/database/migrations/2026_06_24_000001_add_otp_to_lunar_customers_table.php new file mode 100644 index 0000000..6b95efc --- /dev/null +++ b/database/migrations/2026_06_24_000001_add_otp_to_lunar_customers_table.php @@ -0,0 +1,23 @@ +string('otp_code', 6)->nullable()->after('meta'); + $table->timestamp('otp_expires_at')->nullable()->after('otp_code'); + }); + } + + public function down(): void + { + Schema::table('lunar_customers', function (Blueprint $table) { + $table->dropColumn(['otp_code', 'otp_expires_at']); + }); + } +};