db\Migration down()

down() public method

This method contains the logic to be executed when removing this migration.

The default implementation throws an exception indicating the migration cannot be removed. Child classes may override this method if the corresponding migrations can be removed.

public boolean down ( )
return boolean

Return a false value to indicate the migration fails and should not proceed further. All other return values mean the migration succeeds.

doc_Yii
2016-10-30 16:58:10
Comments
Leave a Comment

Please login to continue.