setup sqlite db and migrations