fixing lessons-failed
changing aqlite into postgresql