Commit 587529bf by Qiang Xue

Always refetch the migration table definition.

parent 4764404f
......@@ -574,7 +574,7 @@ class MigrateController extends Controller
*/
protected function getMigrationHistory($limit)
{
if ($this->db->schema->getTableSchema($this->migrationTable) === null) {
if ($this->db->schema->getTableSchema($this->migrationTable, true) === null) {
$this->createMigrationHistoryTable();
}
$query = new Query;
......
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