Change error in resources model, make migrations on resources.