diff --git a/schema/postgres/sqls/patches/0.0.17.patch.sql b/schema/postgres/sqls/patches/0.0.17.patch.sql new file mode 100644 index 0000000..b3005a5 --- /dev/null +++ b/schema/postgres/sqls/patches/0.0.17.patch.sql @@ -0,0 +1,12 @@ +-- patch to be used to upgrade from version 0.0.16 +ALTER TABLE doma_panda.jobsactive4 ADD COLUMN outputfiletype varchar(32); +ALTER TABLE doma_panda.jobsarchived4 ADD COLUMN outputfiletype varchar(32); +ALTER TABLE doma_panda.jobsdefined4 ADD COLUMN outputfiletype varchar(32); +ALTER TABLE doma_panda.jobswaiting4 ADD COLUMN outputfiletype varchar(32); + +ALTER TABLE doma_pandaarch.jobsarchived ADD COLUMN outputfiletype varchar(32); + +-- Update versions +UPDATE pandadb_version SET major=0, minor=0, patch=17 where component='JEDI'; +UPDATE pandadb_version SET major=0, minor=0, patch=17 where component='SERVER'; +COMMIT; \ No newline at end of file