Missing ; in SQL query
This commit is contained in:
parent
8100d26430
commit
dff98355be
@ -233,7 +233,7 @@ func (s *sqlStore) initDB() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create Index
|
// 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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user