update database schema and update editor script
Sonarqube Scanner / Build and analyze (push) Failing after 26s
Sonarqube Scanner / Build and analyze (push) Failing after 26s
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
-- Wegwichtel editor support: route activation timestamp.
|
||||
-- Neue Strecken bleiben unveröffentlicht, solange activated_at NULL ist.
|
||||
-- Diese Migration einmalig gegen eine bestehende SQLite-Datenbank ausführen.
|
||||
-- Bei einer neu erzeugten Datenbank ohne Migrationslauf muss dieselbe Spalte
|
||||
-- direkt in der CREATE-TABLE-Anweisung der routes-Tabelle enthalten sein:
|
||||
-- activated_at DATETIME NULL
|
||||
ALTER TABLE routes ADD COLUMN activated_at DATETIME NULL;
|
||||
-- Ergänzt den manuellen Freigabezeitpunkt für Strecken.
|
||||
-- Neue Strecken bleiben unveröffentlicht, solange activated_at is NULL.
|
||||
ALTER TABLE routes ADD COLUMN activated_at TEXT NULL DEFAULT NULL;
|
||||
|
||||
Reference in New Issue
Block a user