Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]ReceiptOption 인덱스 수정 사항 Flyway SQL 추가 #325

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`);
Loading