def unlock(arguments):
    """Unlock the database."""
    import redis
    u = coil.utils.ask("Redis URL", "redis://localhost:6379/0")
    db = redis.StrictRedis.from_url(u)
    db.set('site:lock', 0)
    print("Database unlocked.")
    return 0
Unlock the database.