Changing all project webhook values in database

Hi Guys

We’ve been using slack very successfully to push events into.

We’re now being forced into using MS teams, which makes me physically ill, but what can you do.

I now need to remove all projects slack integrations.

I also need to edit all projects webhook integrations, adding one if there isn’t one already.

Is there a way to do this through the database? I have access but can’t find where this information would be.

I can do it manually, but it will take a long time.

Any help, greatly appreciated.