(self)
return frozen == current
Check if the current migrations list matches the migrations.lock.
Check if the current migrations list matches the migrations.lock.
Check if the current migrations list matches the migrations . lock .
def check_migrations_lock(self):
        """Check if the current migrations list matches the migrations.lock."""
        with open(self.lock_path, "r") as file:
            frozen = list(file)
        current = self.get_migrations_list()
        return frozen == current
def check_migrations_lock ( self ) : with open ( self . lock_path , "r" ) as file : frozen = list ( file ) current = self . get_migrations_list ( ) return frozen == current