Migration lock after updating Ghost

I tried running that command but it didn’t detect any Ghost installs. I think this is because my project uses the npm module for Ghost. The error says I can release the lock by running an Update SQL query but there are no entries in the migration_lock table of my database.

Are there any ways to rollback then?