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 }