def init_scene(scene_db, name):
    """initializes the scene db"""
    import uuid
    from src.praxxis.sqlite import connection
    conn = connection.create_connection(scene_db)
    cur = conn.cursor()
    scene_id = str(uuid.uuid4())
    create_metadata_table = (
        'CREATE TABLE "SceneMetadata" (ID TEXT PRIMARY KEY, Ended INTEGER, Scene TEXT)'
        )
    create_notebook_list_table = (
        'CREATE TABLE "NotebookList" (ID INTEGER PRIMARY KEY AUTOINCREMENT, Notebook TEXT, Library TEXT, Path TEXT, RawUrl TEXT) '
        )
    create_parameter_table = (
        'CREATE TABLE "Parameters" (Parameter TEXT PRIMARY KEY, Value TEXT)')
    create_history_table = (
        'CREATE TABLE "History" (Timestamp STRING, Notebook TEXT, Library TEXT, OutputPath TEXT)'
        )
    init_metadata_table = (
        'insert into "SceneMetadata"(ID, Ended, Scene) values(?, 0, ?)')
    cur.execute(create_metadata_table)
    cur.execute(create_notebook_list_table)
    cur.execute(create_parameter_table)
    cur.execute(create_history_table)
    cur.execute(init_metadata_table, (scene_id, name))
    conn.commit()
    conn.close()
