From 33765faf2f3877e3be610072b76e9eacf6c7373e Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sat, 5 Aug 2023 03:26:26 +0200 Subject: [PATCH] better english --- sync.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sync.go b/sync.go index cb3ccc53..adc2d859 100644 --- a/sync.go +++ b/sync.go @@ -259,8 +259,7 @@ func (session *Session) SyncWithOptions(opts SyncOptions, beans ...interface{}) } } - // add new indices because either they did not exist before or - // where dropt first to update them + // Add new indices because either they did not exist before or were dropped to update them for name, index := range addedNames { if index.Type == schemas.UniqueType && !opts.IgnoreConstrains { session.statement.RefTable = table