2 Star 0 Fork 0

zhwanwan / eventuate-tram-sagas

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
schema-for-testing-reactive-framework.sql 473 Bytes
一键复制 编辑 原始数据 按行查看 历史
Artem Sidorkin 提交于 2021-09-02 12:07 . Optimized reactive flow
USE eventuate;
CREATE TABLE customer (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(1024),
version BIGINT,
creation_time BIGINT,
credit_limit DECIMAL
);
CREATE TABLE credit_reservation (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
customer_id BIGINT,
order_id BIGINT,
reservation DECIMAL
);
CREATE TABLE orders (
id BIGINT AUTO_INCREMENT PRIMARY KEY,
state VARCHAR(32),
rejection_reason VARCHAR(32),
customer_id BIGINT,
order_total DECIMAL
);
1
https://gitee.com/zhwanwan/eventuate-tram-sagas.git
git@gitee.com:zhwanwan/eventuate-tram-sagas.git
zhwanwan
eventuate-tram-sagas
eventuate-tram-sagas
master

搜索帮助