2024-08-13 10:49:56 +00:00
|
|
|
ALTER TABLE hedera.tpvMerchantEnable
|
2024-08-13 10:52:39 +00:00
|
|
|
DROP FOREIGN KEY tpvMerchantEnable_ibfk_1,
|
|
|
|
DROP PRIMARY KEY,
|
|
|
|
ADD CONSTRAINT tpvMerchantEnable_pk PRIMARY KEY (merchantFk),
|
|
|
|
ADD CONSTRAINT tpvMerchantEnable_tpvMerchant_FK
|
|
|
|
FOREIGN KEY (merchantFk)
|
|
|
|
REFERENCES hedera.tpvMerchant(id)
|
|
|
|
ON DELETE RESTRICT
|
|
|
|
ON UPDATE CASCADE;
|