From a02aa18985215b7b5ac452b075f98a144a6c1f66 Mon Sep 17 00:00:00 2001 From: Nicolas Gourdon Date: Tue, 30 Apr 2019 19:23:04 +0200 Subject: [PATCH] put backticks around table/column names --- models/migrations/v85.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/migrations/v85.go b/models/migrations/v85.go index 1ca93d456d..ef021b1877 100644 --- a/models/migrations/v85.go +++ b/models/migrations/v85.go @@ -19,7 +19,7 @@ func addTeamIsAllRepositories(x *xorm.Engine) error { return err } - _, err := x.Exec("UPDATE team SET is_all_repositories = ? WHERE name=?", + _, err := x.Exec("UPDATE `team` SET `is_all_repositories` = ? WHERE `name`=?", true, "Owners") return err }