Mass "Convert to Normal Repository"

I have a large number of pull-mirrored repositories in my self-hosted Gitea instance. I no longer have access to them and would like to convert them all into normal repositories. I can break them one at a time by going to Settings >> Danger Zone >> Convert to Regular Repository. I’d like to repeat this process from within the Gitea Database.

In the Gitea database I can change the repository.is_mirror to false, and remove the respective line in the mirror table.

Is there anything else that I need to do to convert these repositories?