Your database (migration version: 218) is for a newer Gitea, you can not use the newer database for this old Gitea release (211).
It needs to be upgraded to 1.17.0-rc1 to resume operations.
During a few minutes around 00h15 UTC the Gitea 1.16.9 release was accidentally set to latest and caused the downgrade.
Read on for more details at https://forum.hostea.org/t/gitea-downgrade-from-1-17-0-rc1-to-1-16-9-on-june-22-2022/105
Authored by @dachary
A newer server operated by the Mastodon gGmbH non-profit