ci: add spell checker and fix existing typo (#3420)

* ci: add spell checker and fix existing typo

* chore: move typos.toml to .github

* fix: correct config file path
This commit is contained in:
Zhizhen He
2023-03-30 16:38:29 +08:00
committed by GitHub
parent e3cee0adc2
commit 6f847a3492
23 changed files with 59 additions and 35 deletions

View File

@@ -817,7 +817,7 @@ func (d *Postgres) atIndex(idx1 *Index, t2 *schema.Table, idx2 *schema.Index) er
if v, ok := opc[c1.Name]; ok {
var op postgres.IndexOpClass
if err := op.UnmarshalText([]byte(v)); err != nil {
return fmt.Errorf("unmarshaling operator-class %q for column %q: %v", v, c1.Name, err)
return fmt.Errorf("unmarshalling operator-class %q for column %q: %v", v, c1.Name, err)
}
part.Attrs = append(part.Attrs, &op)
}