From d3e758f61a91480f6d7df9786bdca6262d5e8bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Wed, 6 Mar 2024 03:38:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20PostgreSQL=20CLI=20?= =?UTF-8?q?=E4=B8=8B=E5=A4=87=E4=BB=BD=E6=8F=90=E7=A4=BA=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E4=B8=8D=E5=AD=98=E5=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/console/commands/panel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/console/commands/panel.go b/app/console/commands/panel.go index 3dd46ffe..8c76749c 100644 --- a/app/console/commands/panel.go +++ b/app/console/commands/panel.go @@ -327,7 +327,7 @@ func (receiver *Panel) Handle(ctx console.Context) error { color.Greenln(hr) return nil } - if strings.Contains(check, name) { + if !strings.Contains(check, name) { color.Redln("|-数据库不存在") color.Greenln(hr) return nil