This commit is contained in:
yedongfu 2021-05-23 10:25:49 +08:00
parent 6047f87911
commit 0e82478564
2 changed files with 8 additions and 6 deletions

View File

@ -1,11 +1,11 @@
version: '3.3' version: '3.3'
services: services:
# web: web:
# build: . build: .
# ports: ports:
# - '80:4005' - '80:4005'
# volumes: volumes:
# - .:/app/dtm - .:/app/dtm
mysql: mysql:
image: 'daocloud.io/mysql:5.7' image: 'daocloud.io/mysql:5.7'
environment: environment:

View File

@ -1,5 +1,7 @@
CREATE DATABASE `dtm` /*!40100 DEFAULT CHARACTER SET utf8mb4 */; CREATE DATABASE `dtm` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
use dtm;
drop table IF EXISTS saga; drop table IF EXISTS saga;
CREATE TABLE `saga` ( CREATE TABLE `saga` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,