Commit 9e42285f by Alexander Makarov

Reverted #3305

parent ae1bd393
...@@ -247,7 +247,6 @@ Yii Framework 2 Change Log ...@@ -247,7 +247,6 @@ Yii Framework 2 Change Log
- Enh #3283: Added `$checkAjax` to `yii\web\User::loginRequired()` (qiangxue) - Enh #3283: Added `$checkAjax` to `yii\web\User::loginRequired()` (qiangxue)
- Enh #3284: Added support for checking multiple ETags by `yii\filters\HttpCache` (qiangxue) - Enh #3284: Added support for checking multiple ETags by `yii\filters\HttpCache` (qiangxue)
- Enh #3298: Supported configuring `View::theme` using a class name (netyum, qiangxue) - Enh #3298: Supported configuring `View::theme` using a class name (netyum, qiangxue)
- Enh #3305: Added `refreshSchema()` method to `yii\console\controllers\BaseMigrateController` to allow flushing DB schema cache (6pblcb, samdark)
- Enh #3328: `BaseMailer` generates better text body from html body (armab) - Enh #3328: `BaseMailer` generates better text body from html body (armab)
- Enh #3380: Allow `value` in `defaultValueValidator` to be a closure (Alex-Code) - Enh #3380: Allow `value` in `defaultValueValidator` to be a closure (Alex-Code)
- Enh #3384: Added callback-style transactions (leandrogehlen, Ragazzo, samdark) - Enh #3384: Added callback-style transactions (leandrogehlen, Ragazzo, samdark)
......
...@@ -624,15 +624,6 @@ abstract class BaseMigrateController extends Controller ...@@ -624,15 +624,6 @@ abstract class BaseMigrateController extends Controller
return $migrations; return $migrations;
} }
/**
* Flushes DB schema cache.
* This method should be implemented if connection has DB schema support.
* @since 2.0.1
*/
protected function refreshSchema()
{
}
/** /**
* Returns the migration history. * Returns the migration history.
......
...@@ -179,14 +179,4 @@ class MigrateController extends BaseMigrateController ...@@ -179,14 +179,4 @@ class MigrateController extends BaseMigrateController
'version' => $version, 'version' => $version,
])->execute(); ])->execute();
} }
/**
* @inheritdoc
* @since 2.0.1
*/
protected function refreshSchema()
{
$this->db->schema->refresh();
$this->stdout("DB schema cache was flushed.\n", Console::FG_GREEN);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment