Closed yzzy closed 3 years ago
thanks!
I had to enable the webhook module in 27 projects because of this change, luckily i was able to do it via a quick & dirty sql script.
A notice or migration script that enables it for all projects may be necessary. Not for fresh installs, but for updates.
You are right, backward compatibility is often underestimated.
Something like this should work, at least in postgres:
insert into enabled_modules (project_id, "name")
select project_id, 'webhooks'
from webhooks
where project_id != 0
group by project_id
order by project_id
Don't know how to write it as a rails migration script.
Also, as far as I understand, webhooks still work if the module is disabled. I'm not sure if that is correct.
To those who have lost this plugin settings tab (#26, #32, #34)
redmine_dmsf
)