argos/dmp-db-scema/updates/01/DMPPublishedDat.sql

6 lines
150 B
SQL

ALTER TABLE public."DMP"
ADD "PublishedAt" timestamp(6) with time zone
UPDATE public."DMP"
SET "PublishedAt" = "FinalizedDat"
where "isPublic" = True