From fef97cb068f35f978d44d170e03d6cc2cc684f51 Mon Sep 17 00:00:00 2001 From: Aravind Shankar Date: Thu, 7 Mar 2019 16:18:09 +0530 Subject: [PATCH] remove sql files from migrate create output, fix #1682 --- cli/commands/migrate_create.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cli/commands/migrate_create.go b/cli/commands/migrate_create.go index 3071c5f3f7d63..861d7d3a414a3 100644 --- a/cli/commands/migrate_create.go +++ b/cli/commands/migrate_create.go @@ -44,12 +44,11 @@ type migrateCreateOptions struct { func (o *migrateCreateOptions) run() error { timestamp := getTime() createOptions := mig.New(timestamp, o.name, o.EC.MigrationDir) - createOptions.IsCMD = true err := createOptions.Create() if err != nil { return errors.Wrap(err, "error creating migration files") } - o.EC.Logger.Infof("Migration files created with version %d_%s.[up|down].[yaml|sql]", timestamp, o.name) + o.EC.Logger.Infof("Migration files created with version %d_%s.[up|down].yaml", timestamp, o.name) return nil }