Fixing model migrations.