fix sql statement
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-23 12:22:14 +11:00
parent 77d063867a
commit 968bcf1b7a

View File

@@ -453,7 +453,7 @@ func CheckCount(tablename string) (int, error) {
func GetSchemaVersion() (int, error) {
var version int
stmt, err := db.Prepare("SELECT Version FROM schema")
stmt, err := db.Prepare("SELECT Version FROM schema;")
if err != nil {
log.Printf("GetSchemaVersion error preparing sqlite statement : '%s'\n", err)
return 0, err