chainage panel update
This commit is contained in:
@@ -295,6 +295,9 @@ CREATE INDEX IF NOT EXISTS idx_chainage_points_project ON chainage_points(projec
|
||||
-- be replaced on the next quick run regardless of the (freely editable) note text.
|
||||
ALTER TABLE chainage_points ADD COLUMN IF NOT EXISTS origin TEXT NOT NULL DEFAULT '';
|
||||
UPDATE chainage_points SET origin='quick' WHERE origin='' AND note LIKE 'quick:%';
|
||||
-- The full result of the last recompute (route/spans/per-video/warnings JSON) so
|
||||
-- any admin who signs in later sees the existing computed data, not a recompute ask.
|
||||
ALTER TABLE chainage_calibrations ADD COLUMN IF NOT EXISTS summary JSONB;
|
||||
ALTER TABLE videos ADD COLUMN IF NOT EXISTS chainage_start_m DOUBLE PRECISION;
|
||||
ALTER TABLE videos ADD COLUMN IF NOT EXISTS chainage_end_m DOUBLE PRECISION;
|
||||
ALTER TABLE videos ADD COLUMN IF NOT EXISTS sr_chainage_start_m DOUBLE PRECISION;
|
||||
|
||||
Reference in New Issue
Block a user