Fixes bug on Sql scripts with naming conventions.
This commit is contained in:
parent
2572d3e760
commit
76831573ff
|
@ -1,6 +1,6 @@
|
|||
ALTER TABLE public."DMP"
|
||||
ADD "PublishedDat" timestamp(6) with time zone
|
||||
ADD "PublishedAt" timestamp(6) with time zone
|
||||
|
||||
UPDATE public."DMP"
|
||||
SET "PublishedDat" = "FinalizedDat"
|
||||
SET "PublishedAt" = "FinalizedDat"
|
||||
where "isPublic" = True
|
|
@ -1,5 +1,2 @@
|
|||
ALTER TABLE public."DMP"
|
||||
RENAME COLUMN "FinalizedDat" TO "FinalizedAt";
|
||||
|
||||
ALTER TABLE public."DMP"
|
||||
RENAME COLUMN "PublishedDat" TO "PublishedAt";
|
||||
RENAME COLUMN "FinalizedDat" TO "FinalizedAt";
|
Loading…
Reference in New Issue