Skip to content

Commit 99b3ad4

Browse files
committed
refactor: update CASCADE 제거 (#40)
1 parent b1cd5d3 commit 99b3ad4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Server/src/main/resources/schema.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ create TABLE `card` (
2020
PRIMARY KEY (`cardId`),
2121
FOREIGN KEY (`userId`)
2222
REFERENCES `user` (`userId`)
23-
ON update CASCADE
2423
);
2524

2625
drop table IF EXISTS `history`;
@@ -33,5 +32,4 @@ create TABLE `history` (
3332
PRIMARY KEY (`historyId`),
3433
FOREIGN KEY (`userId`)
3534
REFERENCES `user` (`userId`)
36-
ON update CASCADE
3735
);

0 commit comments

Comments
 (0)