Is there anything that I need to add to my model files when I create a new column in my database because if I just add it in the database and try to access it in yii, it never works. Basically I can never save to that field but yet if I recreate the model than I can save.
But thats the thing, the field I added did not need rules, relations and did not need to be searchable. I added it to a form but when I went to save it didn’t save anything. I then tried assigning a direct value to it and then saving and yet again, nothing went into the database. But if I recreate the model, then saving works for that field. What causes this?