From 5b5f083e925a8b0e9f93d2b4e56832b10245b9ee Mon Sep 17 00:00:00 2001 From: c9s Date: Sun, 14 Mar 2021 10:59:03 +0800 Subject: [PATCH] use bbgo_dev for mysql rockhopper --- .travis.yml | 1 + rockhopper_mysql.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 25604dbb5..0653603a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ services: before_install: - mysql -e 'CREATE DATABASE bbgo;' +- mysql -e 'CREATE DATABASE bbgo_dev;' install: - go get github.com/c9s/rockhopper/cmd/rockhopper diff --git a/rockhopper_mysql.yaml b/rockhopper_mysql.yaml index 6dde3ff23..af9636351 100644 --- a/rockhopper_mysql.yaml +++ b/rockhopper_mysql.yaml @@ -1,5 +1,5 @@ --- driver: mysql dialect: mysql -dsn: "root@tcp(localhost:3306)/bbgo?parseTime=true" +dsn: "root@tcp(localhost:3306)/bbgo_dev?parseTime=true" migrationsDir: migrations/mysql