def init_db()

in src/fbosbot/db.py [0:0]


def init_db():
    db = get_db()

    with current_app.open_resource('schema.sql') as f:
        db.executescript(f.read().decode('utf8'))