log schema
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-23 12:23:23 +11:00
parent 968bcf1b7a
commit 19ffc9e683

View File

@@ -231,7 +231,9 @@ func CreateTables() {
// Check the database schema version
version, _ := GetSchemaVersion()
if version < 3 {
if version >= 3 {
log.Printf("Database schema up to date\n")
} else {
// Remove users RoleId column
userRoleIdCheck, _ := CheckColumnExists("users", "RoleId")
if userRoleIdCheck {