12 lines
391 B
SQL
12 lines
391 B
SQL
DO $$DECLARE
|
|
this_version CONSTANT varchar := '00.01.026';
|
|
BEGIN
|
|
PERFORM * FROM "DBVersion" WHERE version = this_version;
|
|
IF FOUND THEN RETURN; END IF;
|
|
|
|
ALTER TABLE public."Language"
|
|
ADD COLUMN ordinal integer NOT NULL;
|
|
|
|
INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.01.026', '2023-11-29 12:00:00.000000+02', now(), 'ALter table Language.');
|
|
|
|
END$$; |