set up migrations framework