Skip to content

Commit

Permalink
on delete cascade paymentmethods
Browse files Browse the repository at this point in the history
  • Loading branch information
amihaiemil committed Oct 29, 2020
1 parent e31b59d commit 163794e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/resources/createDb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,6 @@ CREATE TABLE `self_xdsd`.`slf_paymentmethods_xdsd` (
PRIMARY KEY (`paymentMethodId`),
CONSTRAINT `walletFK`
FOREIGN KEY (`repo_fullname` , `provider` , `type`)
REFERENCES `self_xdsd`.`slf_wallets_xdsd` (`repo_fullname` , `provider` , `type`));
REFERENCES `self_xdsd`.`slf_wallets_xdsd` (`repo_fullname` , `provider` , `type`)
ON DELETE CASCADE);

0 comments on commit 163794e

Please sign in to comment.