Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions acb-relayer/r-bootstrap/src/main/resources/db/ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CREATE TABLE IF NOT EXISTS `anchor_process`
`gmt_create` datetime DEFAULT CURRENT_TIMESTAMP,
`gmt_modified` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `blockchain_product` (`blockchain_product`, `instance`, `task`)
UNIQUE KEY `anchor_process_unique_product_instance_task_lane` (`blockchain_product`, `instance`, `task`, `tpbta_lane_key`)
) ENGINE = InnoDB
ROW_FORMAT = DYNAMIC;

Expand Down Expand Up @@ -545,4 +545,4 @@ CREATE TABLE IF NOT EXISTS `sdp_nonce_record`
PRIMARY KEY (`id`),
KEY `idx_message_id_nonce` (`message_id`),
KEY `idx_channel` (`sender_domain`, `sender_identity`, `receiver_domain`, `receiver_identity`, `nonce`)
);
);
4 changes: 2 additions & 2 deletions acb-relayer/r-bootstrap/src/test/resources/data/ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CREATE TABLE IF NOT EXISTS `anchor_process`
`gmt_create` datetime DEFAULT CURRENT_TIMESTAMP,
`gmt_modified` datetime DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `blockchain_product` (`blockchain_product`, `instance`, `task`)
UNIQUE KEY `anchor_process_unique_product_instance_task_lane` (`blockchain_product`, `instance`, `task`, `tpbta_lane_key`)
);

CREATE TABLE IF NOT EXISTS `domain_cert`
Expand Down Expand Up @@ -503,4 +503,4 @@ CREATE TABLE IF NOT EXISTS `sdp_nonce_record`
`hash_val` VARCHAR(64) UNIQUE NOT NULL,
`gmt_create` DATETIME DEFAULT CURRENT_TIMESTAMP,
`gmt_modified` DATETIME DEFAULT CURRENT_TIMESTAMP
);
);