[SQUASH] Only migrate if schema needs updating