What a strange behavior after migration?

Created migration
public function safeUp()
{
$this->addColumn('recipes','url',$this->string(255)->notNull()->defaultValue("));
}
 public function safeDown()
{
$this->dropColumn('recipes','url');
 }

added a field to the validation of the model

public function rules()
{
 return [
 [['title', 'description','time','url'], 'required'],
 [['description'], 'string'],
 [['created_at', 'update_at'], 'safe'],
 [['title', 'image','time','url'], 'string', 'max' => 255],
];
 }

well, in the attributes
public function attributeLabels()
{
 return [
 'id' => 'ID',
 'title' => Yii::t('app','Name'),
 'description' => Yii::t('app','Description'),
 'image' => Yii::t('app','Picture'),
 'time' => Yii::t('app','cooking Time'),
 'created_at' => Yii::t('app','creation date'),
 'update_at' => Yii::t('app','change date'),
'url'=>Yii::t('app','Link')
];
 }

trying to save the form (without fields in the form) get the following error
Fatal error: Uncaught yii\base\UnknownPropertyException: Getting unknown property: common\models\Recipes::url
Migration applied. What is the error ?
June 10th 19 at 15:05
2 answers
June 10th 19 at 15:07
Solution
Clean the cache of the framework. The runtime folder
Handles ? Or is there some other possibility ? - vergie.Jerde commented on June 10th 19 at 15:10
June 10th 19 at 15:09
Solution
You have enabled the cache database schemas.

Can be disabled in kafige component database
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=back_import',
...
'enableSchemaCache' => false

Or you can refresh the schema cache in a live migration
$this->db->schema->refreshTableSchema('table_name')

Find more questions by tags Yii