chore: fix user string

This commit is contained in:
Steven
2023-12-13 19:08:06 +08:00
parent b20e0097cf
commit 2d9c5d16e1
5 changed files with 5 additions and 5 deletions

View File

@ -131,7 +131,7 @@ func (d *DB) ListUserSettings(ctx context.Context, find *store.FindUserSetting)
func vacuumUserSetting(ctx context.Context, tx *sql.Tx) error {
// First, build the subquery
subQuery, subArgs, err := squirrel.Select("id").From("\"user\"").PlaceholderFormat(squirrel.Dollar).ToSql()
subQuery, subArgs, err := squirrel.Select("id").From(`"user"`).PlaceholderFormat(squirrel.Dollar).ToSql()
if err != nil {
return err
}