In Yii2 to set a default value?

Spilling into the database the value " (empty string), both at the level of the model framework to set the default value of 0 for these cases?
July 2nd 19 at 17:46
1 answer
July 2nd 19 at 17:48
use the validator default

Find more questions by tags Yii