From bf3ee24314f1b5571adecdab48b5aa57d0b45ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Wed, 11 Feb 2026 10:24:28 +0900 Subject: [PATCH] =?UTF-8?q?feat:=EB=B2=95=EC=9D=B8=EC=B9=B4=EB=93=9C=20?= =?UTF-8?q?=EC=84=A0=EB=B6=88=EA=B2=B0=EC=A0=9C=20=ED=85=8C=EC=9D=B4?= =?UTF-8?q?=EB=B8=94=20=EB=A7=88=EC=9D=B4=EA=B7=B8=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit corporate_card_prepayments 테이블 생성 (tenant_id, year_month, amount, memo) Co-Authored-By: Claude Opus 4.6 --- ...reate_corporate_card_prepayments_table.php | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 database/migrations/2026_02_11_100000_create_corporate_card_prepayments_table.php diff --git a/database/migrations/2026_02_11_100000_create_corporate_card_prepayments_table.php b/database/migrations/2026_02_11_100000_create_corporate_card_prepayments_table.php new file mode 100644 index 0000000..810d01d --- /dev/null +++ b/database/migrations/2026_02_11_100000_create_corporate_card_prepayments_table.php @@ -0,0 +1,26 @@ +id(); + $table->unsignedBigInteger('tenant_id'); + $table->string('year_month', 7); // "2026-02" + $table->decimal('amount', 15, 0)->default(0); + $table->string('memo', 200)->nullable(); + $table->timestamps(); + $table->unique(['tenant_id', 'year_month']); + }); + } + + public function down(): void + { + Schema::dropIfExists('corporate_card_prepayments'); + } +};