put backticks around table/column names
This commit is contained in:
parent
7cca1253f7
commit
a02aa18985
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue