better english

This commit is contained in:
6543 2023-08-05 03:26:26 +02:00
parent 020a74861b
commit 33765faf2f
No known key found for this signature in database
GPG Key ID: B8BE6D610E61C862
1 changed files with 1 additions and 2 deletions

View File

@ -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