Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #742 from bryanstephens/fix-gitlab-ci-mysql-url
Browse files Browse the repository at this point in the history
Fix Gitlab MySQL url on new generation
  • Loading branch information
markbates authored Nov 7, 2017
2 parents e975e52 + c32335d commit 0fcf274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/newapp/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (a Generator) Run(root string, data makr.Data) error {
if a.DBType == "postgres" {
data["testDbUrl"] = "postgres://postgres:postgres@postgres:5432/" + a.Name.File() + "_test?sslmode=disable"
} else if a.DBType == "mysql" {
data["testDbUrl"] = "mysql://root:root@mysql:3306/" + a.Name.File() + "_test"
data["testDbUrl"] = "mysql://root:root@(mysql:3306)/" + a.Name.File() + "_test"
} else {
data["testDbUrl"] = ""
}
Expand Down

0 comments on commit 0fcf274

Please sign in to comment.