Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
[refactor][*][*]: improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
zouxyan committed Apr 25, 2024
1 parent 8b6d8ae commit c25fcf4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
10 changes: 10 additions & 0 deletions r-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jdbc</artifactId>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<exclusions>
<exclusion>
<artifactId>protobuf-java</artifactId>
<groupId>com.google.protobuf</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.alipay.antchain.bridge</groupId>
<artifactId>r-engine</artifactId>
Expand Down
14 changes: 7 additions & 7 deletions r-bootstrap/src/main/resources/db/ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,15 @@ CREATE INDEX domain_space_cert_owner_oid_hex
drop table if exists ucp_pool;
CREATE TABLE `ucp_pool`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`ucp_id` VARBINARY(64) UNIQUE NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`ucp_id` VARCHAR(64) UNIQUE NOT NULL,
`blockchain_product` varchar(64) BINARY DEFAULT NULL,
`blockchain_id` varchar(128) BINARY DEFAULT NULL,
`version` int(11) DEFAULT NULL,
`src_domain` varchar(128) BINARY DEFAULT NULL,
`blockhash` varchar(66) DEFAULT NULL,
`txhash` varchar(66) DEFAULT NULL,
`ledger_time` TIMESTAMP DEFAULT NULL,
`ledger_time` TIMESTAMP,
`udag_path` varchar(1024) BINARY DEFAULT NULL,
`protocol_type` int(11) DEFAULT NULL,
`raw_message` mediumblob,
Expand All @@ -139,8 +139,8 @@ CREATE TABLE `ucp_pool`
drop table if exists auth_msg_pool;
CREATE TABLE `auth_msg_pool`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`ucp_id` VARBINARY(64) UNIQUE NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`ucp_id` VARCHAR(64) UNIQUE NOT NULL,
`blockchain_product` varchar(64) BINARY DEFAULT NULL,
`blockchain_id` varchar(128) DEFAULT NULL,
`domain_name` varchar(128) BINARY DEFAULT NULL,
Expand Down Expand Up @@ -265,8 +265,8 @@ CREATE TABLE `relayer_node`
drop table if exists auth_msg_archive;
CREATE TABLE `auth_msg_archive`
(
`id` int(11) NOT NULL AUTO_INCREMENT,
`ucp_id` VARBINARY(64) UNIQUE NOT NULL,
`id` int(11) NOT NULL AUTO_INCREMENT,
`ucp_id` VARCHAR(64) UNIQUE NOT NULL,
`blockchain_product` varchar(64) BINARY DEFAULT NULL,
`blockchain_id` varchar(128) DEFAULT NULL,
`domain_name` varchar(128) BINARY DEFAULT NULL,
Expand Down

0 comments on commit c25fcf4

Please sign in to comment.