abeizn commented on code in PR #2553:
URL: https://github.com/apache/incubator-devlake/pull/2553#discussion_r925366716
##########
generator/cmd/create_migration.go:
##########
@@ -103,9 +103,9 @@ If framework passed, generator will create a new migration
in models/migrationsc
// read template
templates := map[string]string{}
if withConfig == `Yes` {
-
templates[`updateSchemas`+values[`Date`]+values[`Count`]+`.go`] =
util.ReadTemplate("generator/template/migrationscripts/migration_with_config.go-template")
+ templates[values[`Date`]+`_`+values[`Purpose`]+`.go`] =
util.ReadTemplate("generator/template/migrationscripts/migration_with_config.go-template")
Review Comment:
updated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]