mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
7 lines
337 B
SQL
7 lines
337 B
SQL
-- Preserve the original landing time for markers that predate `arrived_at`.
|
|
-- Migration 0260 must add the NOT NULL column with a default; this follow-up
|
|
-- restores historical rows to their actual first-arrival timestamp before the
|
|
-- application starts serving the release.
|
|
UPDATE "arrival_reactions"
|
|
SET "arrived_at" = "created_at";
|