Move casefile to its own migration

What it says on the tin.