db setup, capify