mysql ok
This commit is contained in:
parent
6047f87911
commit
0e82478564
@ -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:
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user