forked from apache/incubator-seata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix apache#142 delete defaultEventExecutorGroup * fix apache#139 netty heartbeat configurable * fix apache#149 (long)->Number.longValue * revert OrderServiceImpl, change version 0.1.2-SNAPSHOT * fix apache#201 add sample module sql script * fix apache#206 optimize sample log print location.
- Loading branch information
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
DROP TABLE IF EXISTS `storage_tbl`; | ||
CREATE TABLE `storage_tbl` ( | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | ||
`commodity_code` varchar(255) DEFAULT NULL, | ||
`count` int(11) DEFAULT 0, | ||
PRIMARY KEY (`id`), | ||
UNIQUE KEY (`commodity_code`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
|
||
|
||
DROP TABLE IF EXISTS `order_tbl`; | ||
CREATE TABLE `order_tbl` ( | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | ||
`user_id` varchar(255) DEFAULT NULL, | ||
`commodity_code` varchar(255) DEFAULT NULL, | ||
`count` int(11) DEFAULT 0, | ||
`money` int(11) DEFAULT 0, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
|
||
|
||
DROP TABLE IF EXISTS `account_tbl`; | ||
CREATE TABLE `account_tbl` ( | ||
`id` int(11) NOT NULL AUTO_INCREMENT, | ||
`user_id` varchar(255) DEFAULT NULL, | ||
`money` int(11) DEFAULT 0, | ||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
CREATE TABLE `undo_log` ( | ||
`id` bigint(20) NOT NULL AUTO_INCREMENT, | ||
`branch_id` bigint(20) NOT NULL, | ||
`xid` varchar(100) NOT NULL, | ||
`rollback_info` longblob NOT NULL, | ||
`log_status` int(11) NOT NULL, | ||
`log_created` datetime NOT NULL, | ||
`log_modified` datetime NOT NULL, | ||
`ext` varchar(100) DEFAULT NULL, | ||
PRIMARY KEY (`id`), | ||
KEY `idx_unionkey` (`xid`,`branch_id`) | ||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; |