From 1cef099a37b59d4f2c79549c74938b8687877672 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Mon, 2 Sep 2024 16:53:04 +1200 Subject: [PATCH] =?UTF-8?q?fix:=20Definers=20now=20removed=20from=20schema?= =?UTF-8?q?.sql=20closes=20#4=20=20=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dump/dump.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/dump/dump.go b/internal/dump/dump.go index 8ed2b44..f700ec2 100644 --- a/internal/dump/dump.go +++ b/internal/dump/dump.go @@ -112,11 +112,8 @@ func (c *Client) Dump() error { "--skip-triggers", "--result-file", filepath.Join(c.storagePath, c.databaseName+"-schema.sql"), c.databaseName).Run() - fmt.Printf("%s Removing definers\n\r", - style.Success(icon.Info), - ) - // removeDefiners(filepath.Join(c.storagePath, c.databaseName+"-schema.sql")) + removeDefiners(filepath.Join(c.storagePath, c.databaseName+"-schema.sql")) fmt.Printf( "%s Done dumping schema %s from %s\n\r",