db install prepare