Skip to content

Commit

Permalink
[FEAT]ReceiptOption 인덱스 수정 사항 Flyway SQL 추가 (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
YeaChan05 authored Jul 11, 2024
2 parents b0b8214 + 2c3fba3 commit a0ca42f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ALTER TABLE receipt_option
DROP CONSTRAINT `FK_RECEIPT_OPTION_ON_RECEIPT`;
ALTER TABLE receipt_option
DROP INDEX `idx_receipt_option_receipt_id`;
ALTER TABLE receipt_option
ADD CONSTRAINT `FK_RECEIPT_OPTION_ON_RECEIPT` FOREIGN KEY (`receipt_id`) REFERENCES `receipt` (`receipt_id`);
ALTER TABLE receipt_option
ADD INDEX `idx_receipt_option_receipt_id` (`receipt_id`);

0 comments on commit a0ca42f

Please sign in to comment.