DROP TABLE IF EXISTS `T_RECHARGE_BLOCKCHAIN_ORDER`;
CREATE TABLE `T_RECHARGE_BLOCKCHAIN_ORDER` (
  `UUID` varchar(32) NOT NULL,
  `ORDER_NO` char(32) ,
  `AMOUNT` double ,
  `PARTY_ID` varchar(32) ,
  `SUCCEEDED` int(11) ,
  `CREATED` datetime ,
  `CURRENCY` varchar(32) ,
  `DESCRIPTION` varchar(256) ,
  `BLOCKCHAIN_NAME` varchar(32) ,
  `IMG` varchar(64) ,
  `CHANNEL_AMOUNT` double ,
  `ADDRESS` varchar(256) ,
   
  PRIMARY KEY (`UUID`),
  KEY `INX_RECHARGE_BLOCKCHAIN_ORDER_PARTY_ID` (`PARTY_ID`,`CREATED`),
  KEY `INX_RECHARGE_BLOCKCHAIN_ORDER_SUCCEEDED` (`SUCCEEDED`,`CREATED`),
  KEY `INX_RECHARGE_BLOCKCHAIN_ORDER_ORDER_NO` (`ORDER_NO`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;



SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `T_CHANNEL_BLOCKCHAIN`
-- ----------------------------
DROP TABLE IF EXISTS `T_CHANNEL_BLOCKCHAIN`;
CREATE TABLE `T_CHANNEL_BLOCKCHAIN` (
  `UUID` varchar(32) NOT NULL COMMENT '主键',
  `NAME` varchar(32) DEFAULT NULL,
  `IMG` varchar(64) DEFAULT NULL,
   `ADDRESS` varchar(64) DEFAULT NULL,

  PRIMARY KEY (`UUID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

