Missing ; in SQL query

This commit is contained in:
Jake Sanders 2020-03-24 23:49:09 +00:00
parent 8100d26430
commit dff98355be

View File

@ -233,7 +233,7 @@ func (s *sqlStore) initDB() error {
}
// Create Index
_, err = s.db.Exec(fmt.Sprintf(`CREATE INDEX IF NOT EXISTS "%s" ON %s.%s USING btree ("key")`, "key_index_"+s.table, s.database, s.table))
_, err = s.db.Exec(fmt.Sprintf(`CREATE INDEX IF NOT EXISTS "%s" ON %s.%s USING btree ("key");`, "key_index_"+s.table, s.database, s.table))
if err != nil {
return err
}