diff --git a/dmp-db-scema/updates/08/01_Add_database_versioning.sql b/dmp-db-scema/updates/08/01_Add_database_versioning.sql new file mode 100644 index 000000000..47e855bed --- /dev/null +++ b/dmp-db-scema/updates/08/01_Add_database_versioning.sql @@ -0,0 +1,10 @@ +CREATE TABLE public."DBVersion" ( + key character varying NOT NULL, + version character varying NOT NULL, + "releasedAt" timestamp with time zone NOT NULL, + "deployedAt" timestamp with time zone, + description text +); + +INSERT INTO public."DBVersion" VALUES ('DMPDB', '00.00.001', '2020-03-31 11:34:54.236152+03', now(), 'Add Database Versioning'); +