1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-24 22:53:52 +02:00

сделал PreferSimpleProtocol

This commit is contained in:
Nikitin Aleksandr
2023-12-21 16:30:26 +03:00
parent 36990b736a
commit feeb381020

View File

@@ -403,7 +403,7 @@ func RawMultipleSQL(db *gorm.DB, TextSQL string) *gorm.DB {
tx = db.Raw(v)
err = tx.Error
} else {
tx = db.Raw(v)
tx = db.Exec(v)
err = tx.Error
}
if err != nil {