fixed up db with some migrations