feat:카드 사용내역 수동입력 is_manual 컬럼 마이그레이션 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-05 11:24:32 +09:00
parent 49d68e3b3e
commit bc4a41263a

View File

@@ -0,0 +1,23 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('barobill_card_transactions', function (Blueprint $table) {
$table->boolean('is_manual')->default(false)->after('modified_tax')
->comment('수동 입력 여부 (true: 수동입력, false: 바로빌 API)');
});
}
public function down(): void
{
Schema::table('barobill_card_transactions', function (Blueprint $table) {
$table->dropColumn('is_manual');
});
}
};