Skip to content

Instantly share code, notes, and snippets.

@anhtran
Last active October 7, 2019 07:14
Show Gist options
  • Save anhtran/c30ecbd45bd2d04f111a3da63958f2cc to your computer and use it in GitHub Desktop.
Save anhtran/c30ecbd45bd2d04f111a3da63958f2cc to your computer and use it in GitHub Desktop.

FIX: MigrationsAreLockedError: Migration lock was never released or currently a migration is running.

mysql

use db_name;  
UPDATE migrations_lock set locked=0 where lock_key='km01';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment