Add migrations for the type field.