quiz db setup