From 668e79d2efabf6d1a8350ca2516fd0b54b44609a Mon Sep 17 00:00:00 2001 From: Nikitin Aleksandr Date: Thu, 21 Mar 2024 11:27:52 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20FillRows?= =?UTF-8?q?Count()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/create_files/create_files.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/create_files/create_files.go b/internal/create_files/create_files.go index 6a947a2..a176fdf 100644 --- a/internal/create_files/create_files.go +++ b/internal/create_files/create_files.go @@ -208,12 +208,12 @@ func IsGoodTable(Table1 *types.Table) error { TableName := Table1.Name ColumnName, _ := FindPrimaryKeyNameTypeGo(Table1) if ColumnName == "" { - TextError := fmt.Sprint("Wrong table ", Table1.Name, " error: not found Primary key") + TextError := fmt.Sprint("Wrong table: ", Table1.Name, " error: not found Primary key") err = errors.New(TextError) } if strings.HasPrefix(TableName, "DELETED_") == true { - TextError := fmt.Sprint("Wrong table ", Table1.Name, " error: name = DELETED_") + TextError := fmt.Sprint("Wrong table: ", Table1.Name, " error: name = DELETED_") err = errors.New(TextError) }