After upgrading nx, are we meant to keep the
migrations.json file that is generated in the root?
Should I check it into git? or just delete it?
if you ran the migration, and everything looks good, you can delete the file.
the migration.json could be kept in git if there’s a staged migration. For example, you only want to do 1 migration at a time that might take more than a day