use bbgo_dev for mysql rockhopper

This commit is contained in:
c9s 2021-03-14 10:59:03 +08:00
parent e9fd6e542d
commit 5b5f083e92
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ services:
before_install: before_install:
- mysql -e 'CREATE DATABASE bbgo;' - mysql -e 'CREATE DATABASE bbgo;'
- mysql -e 'CREATE DATABASE bbgo_dev;'
install: install:
- go get github.com/c9s/rockhopper/cmd/rockhopper - go get github.com/c9s/rockhopper/cmd/rockhopper

View File

@ -1,5 +1,5 @@
--- ---
driver: mysql driver: mysql
dialect: mysql dialect: mysql
dsn: "root@tcp(localhost:3306)/bbgo?parseTime=true" dsn: "root@tcp(localhost:3306)/bbgo_dev?parseTime=true"
migrationsDir: migrations/mysql migrationsDir: migrations/mysql