adds script to create and migrate db