def init_db(sqlalchemy_url):
    """
    Initialize database with gsshapy tables
    """
    engine = create_engine(sqlalchemy_url)
    start = time.time()
    metadata.create_all(engine)
    return time.time() - start
Initialize database with gsshapy tables