text: /*
  Navicat MySQL Data Transfer
  
  Source Server         : localhost_3306
  Source Server Version : 50724
  Source Host           : localhost:3306
  Source Database       : seata_account
  
  Target Server Type    : MYSQL
  Target Server Version : 50724
  File Encoding         : 65001
  
  Date: 2020-04-13 12:26:08
  */
  
  SET FOREIGN_KEY_CHECKS=0;
  
  -- ----------------------------
  -- Table structure for t_account
  -- ----------------------------
  DROP TABLE IF EXISTS `t_account`;
  CREATE TABLE `t_account` (
    `id` bigint(11) NOT NULL AUTO_INCREMENT,
    `user_id` bigint(11) DEFAULT NULL,
    `total` decimal(11,2) DEFAULT NULL,
    `used` decimal(11,2) DEFAULT NULL,
    `residue` decimal(11,2) DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- ----------------------------
  -- Records of t_account
  -- ----------------------------
  
  -- ----------------------------
  -- Table structure for t_order
  -- ----------------------------
  DROP TABLE IF EXISTS `t_order`;
  CREATE TABLE `t_order` (
    `id` bigint(11) NOT NULL AUTO_INCREMENT,
    `user_id` bigint(11) DEFAULT NULL,
    `produce_id` bigint(255) DEFAULT NULL,
    `count` int(11) DEFAULT NULL,
    `money` decimal(11,2) DEFAULT NULL,
    `status` int(1) DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- ----------------------------
  -- Records of t_order
  -- ----------------------------
  
  -- ----------------------------
  -- Table structure for t_storage
  -- ----------------------------
  DROP TABLE IF EXISTS `t_storage`;
  CREATE TABLE `t_storage` (
    `id` bigint(11) NOT NULL AUTO_INCREMENT,
    `produce_id` bigint(11) DEFAULT NULL,
    `total` int(11) DEFAULT NULL,
    `used` int(11) DEFAULT NULL,
    `residue` int(11) DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  
  -- ----------------------------
  -- Records of t_storage
  -- ----------------------------
  