Changes message model and fixed migrations