fix:이력 테이블 마이그레이션 기존 테이블 충돌 방지
- 이전 실행에서 테이블만 생성되고 FK 추가 실패한 상태 대응 - dropIfExists 추가하여 재실행 가능하도록 수정 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::dropIfExists('barobill_card_transaction_amount_logs');
|
||||
Schema::create('barobill_card_transaction_amount_logs', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->unsignedBigInteger('card_transaction_id')->comment('카드 거래 ID');
|
||||
|
||||
Reference in New Issue
Block a user