Initialize the DB.

def init_db():
    """Initialize the DB."""
    import reana_db.models
    if not database_exists(engine.url):
        create_database(engine.url)
    Base.metadata.create_all(bind=engine)