This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
-- Wegwichtel editor support: route activation timestamp.
|
||||
-- New routes remain unpublished while activated_at is NULL.
|
||||
-- Run once against the SQLite database if the routes table does not already contain this column.
|
||||
-- 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;
|
||||
|
||||
Reference in New Issue
Block a user