yii\db\Migration::safeDown PHP Méthode

safeDown() public méthode

This method differs from Migration::down in that the DB logic implemented here will be enclosed within a DB transaction. Child classes may implement this method instead of Migration::down if the DB logic needs to be within a transaction.
public safeDown ( ) : boolean
Résultat boolean return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds.
    public function safeDown()
    {
    }