main.go aktualisiert
All checks were successful
release-tag / release-image (push) Successful in 1m59s
All checks were successful
release-tag / release-image (push) Successful in 1m59s
This commit is contained in:
7
main.go
7
main.go
@@ -89,9 +89,6 @@ func initDB() {
|
||||
log.Fatalf("Datenbank-Fehler: %v", err)
|
||||
}
|
||||
|
||||
// Neue Spalte für die Sprache hinzufügen, wenn sie noch nicht existiert
|
||||
addLanguageColumnIfNotExists()
|
||||
|
||||
// Tabelle erstellen, falls sie noch nicht existiert
|
||||
createTableSQL := `CREATE TABLE IF NOT EXISTS guild_config (
|
||||
guild_id TEXT PRIMARY KEY,
|
||||
@@ -104,6 +101,10 @@ func initDB() {
|
||||
if err != nil {
|
||||
log.Fatalf("Fehler beim Erstellen der Tabelle: %v", err)
|
||||
}
|
||||
|
||||
// Neue Spalte für die Sprache hinzufügen, wenn sie noch nicht existiert
|
||||
addLanguageColumnIfNotExists()
|
||||
|
||||
}
|
||||
|
||||
// Close DB connection
|
||||
|
Reference in New Issue
Block a user