Fix creating table indexes

This commit is contained in:
Gabe Kangas
2022-08-03 10:31:14 -07:00
parent 5d34279862
commit b2b77f5eb9
7 changed files with 39 additions and 85 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func MustExec(s string, db *sql.DB) {
stmt, err := db.Prepare(s)
if err != nil {
log.Fatal(err)
log.Panic(err)
}
defer stmt.Close()
_, err = stmt.Exec()