Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
9e42285f
Commit
9e42285f
authored
Nov 28, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverted #3305
parent
ae1bd393
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
20 deletions
+0
-20
CHANGELOG.md
framework/CHANGELOG.md
+0
-1
BaseMigrateController.php
framework/console/controllers/BaseMigrateController.php
+0
-9
MigrateController.php
framework/console/controllers/MigrateController.php
+0
-10
No files found.
framework/CHANGELOG.md
View file @
9e42285f
...
...
@@ -247,7 +247,6 @@ Yii Framework 2 Change Log
-
Enh #3283: Added
`$checkAjax`
to
`yii\web\User::loginRequired()`
(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 #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 #3380: Allow
`value`
in
`defaultValueValidator`
to be a closure (Alex-Code)
-
Enh #3384: Added callback-style transactions (leandrogehlen, Ragazzo, samdark)
...
...
framework/console/controllers/BaseMigrateController.php
View file @
9e42285f
...
...
@@ -624,15 +624,6 @@ abstract class BaseMigrateController extends Controller
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.
...
...
framework/console/controllers/MigrateController.php
View file @
9e42285f
...
...
@@ -179,14 +179,4 @@ class MigrateController extends BaseMigrateController
'version'
=>
$version
,
])
->
execute
();
}
/**
* @inheritdoc
* @since 2.0.1
*/
protected
function
refreshSchema
()
{
$this
->
db
->
schema
->
refresh
();
$this
->
stdout
(
"DB schema cache was flushed.
\n
"
,
Console
::
FG_GREEN
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment