mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-16 15:21:13 +08:00
Fix #18886: Fix default return of yii\db\Migration::safeUp()
and yii\db\Migration::safeDown()
This commit is contained in:
@ -18,6 +18,7 @@ Yii Framework 2 Change Log
|
||||
- Enh #18858: Reduce memory usage in `yii\base\View::afterRender` method (LeoOnTheEarth)
|
||||
- Bug #18880: Fix `yii\helpers\ArrayHelper::toArray()` for `DateTime` objects in PHP >= 7.4 (rhertogh)
|
||||
- Bug #18883: Fix `yii\web\HeaderCollection::fromArray()` now ensures lower case keys (rhertogh)
|
||||
- Bug #18886: Fix default return of `yii\db\Migration::safeUp()` and `yii\db\Migration::safeDown()` (WinterSilence)
|
||||
|
||||
|
||||
2.0.43 August 09, 2021
|
||||
|
@ -182,6 +182,7 @@ class Migration extends Component implements MigrationInterface
|
||||
*/
|
||||
public function safeUp()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -199,6 +200,7 @@ class Migration extends Component implements MigrationInterface
|
||||
*/
|
||||
public function safeDown()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user