def init_db_command():
    """Clear existing data and create new tables."""
    init_db()
    click.echo("Initialized the database.")
Clear existing data and create new tables.
examples/tutorial/flaskr/db.py