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

6 lines
152 B
SQL

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