diff --git a/schema/postgres/sqls/patches/0.0.17.patch.sql b/schema/postgres/sqls/patches/0.0.17.patch.sql index b3005a5..07cc344 100644 --- a/schema/postgres/sqls/patches/0.0.17.patch.sql +++ b/schema/postgres/sqls/patches/0.0.17.patch.sql @@ -6,6 +6,7 @@ ALTER TABLE doma_panda.jobswaiting4 ADD COLUMN outputfiletype varchar(32); ALTER TABLE doma_pandaarch.jobsarchived ADD COLUMN outputfiletype varchar(32); +ALTER TABLE doma_panda.jedi_process_lock ALTER COLUMN lockedby TYPE varchar(56); -- 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'; diff --git a/schema/postgres/sqls/pg_PANDA_TABLE.sql b/schema/postgres/sqls/pg_PANDA_TABLE.sql index 097d5a9..1004745 100644 --- a/schema/postgres/sqls/pg_PANDA_TABLE.sql +++ b/schema/postgres/sqls/pg_PANDA_TABLE.sql @@ -832,7 +832,7 @@ CREATE TABLE jedi_process_lock ( prodsourcelabel varchar(20) NOT NULL, workqueue_id integer NOT NULL, cloud varchar(10) NOT NULL, - lockedby varchar(40), + lockedby varchar(56), lockedtime timestamp, resource_type varchar(56) NOT NULL, component varchar(56) NOT NULL