feat:계좌 입출금내역 수동입력용 is_manual 컬럼 추가
barobill_bank_transactions 테이블에 is_manual boolean 컬럼 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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_bank_transactions', function (Blueprint $table) {
|
||||
$table->boolean('is_manual')->default(false)
|
||||
->after('account_name')
|
||||
->comment('수동 입력 여부');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('barobill_bank_transactions', function (Blueprint $table) {
|
||||
$table->dropColumn('is_manual');
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user