added SchemaTest

This commit is contained in:
Carsten Brandt
2013-09-06 15:03:57 +02:00
parent 544e412af8
commit 8abeed03bd
4 changed files with 111 additions and 1 deletions

View File

@@ -227,7 +227,7 @@ class Schema extends \yii\db\Schema
$tableNames = array();
foreach($tables as $table) {
// do not list system tables
if ($table['TYPE'] !== 0) {
if ($table['TYPE'] != 0) {
$tableNames[] = $table['NAME'];
}
}