Fixing case sensitivity in database migration