argos/dmp-db-scema/updates/00.01.026_addLanguage.sql

12 lines
391 B
MySQL
Raw Normal View History

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