Tower: upload queue_job 16.0.2.12.0 (via marketplace)
This commit is contained in:
11
addons/queue_job/migrations/16.0.2.11.1/pre-migration.py
Normal file
11
addons/queue_job/migrations/16.0.2.11.1/pre-migration.py
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html)
|
||||||
|
from openupgradelib import openupgrade
|
||||||
|
|
||||||
|
|
||||||
|
@openupgrade.migrate()
|
||||||
|
def migrate(env, version):
|
||||||
|
# Remove cron garbage collector
|
||||||
|
openupgrade.delete_records_safely_by_xml_id(
|
||||||
|
env,
|
||||||
|
["queue_job.ir_cron_queue_job_garbage_collector"],
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user