Losing data when modifying a model

while in development mode, sometimes when you change something in a model, the data is lost