code: def migrate(name=None, database=None, directory=None, verbose=None, fake=False):
      
      router = get_router(directory, database, verbose)
      migrations = router.run(name, fake=fake)
      if migrations:
          click.echo('Migrations completed: %s' % ', '.join(migrations))
docs: Migrate database.