I believe I’m facing a same issue, but in a different way.
I deleted and recreated a repo in Gogs. Without hacking the sqlite database directly (in fact I deleted the /var/lib/drone/database.sqlite file), I can’t sync to have the new repo appear in the drone repo list. The sync process is proceeded but the same-name repo does not appear.
Do we need any operations for the database used in CLI commands, or can UI logic fully cover all these cases?