Skip to content

Commit

Permalink
fixes #86
Browse files Browse the repository at this point in the history
quick fix only, not add support use schema
  • Loading branch information
mootensai committed Nov 8, 2016
1 parent 0ee4b24 commit 1c68ec3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BaseGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ abstract class BaseGenerator extends \yii\gii\Generator
public $nsModel = 'app\models';
public $nsSearchModel = 'app\models';
public $skippedRelations;
public $useSchemaName = true;

static public function getTreeColumns(){
return ['id', 'root', 'lft', 'rgt', 'lvl', 'name', 'icon', 'icon_type', 'active', 'selected', 'disabled', 'readonly',
Expand Down Expand Up @@ -535,4 +536,4 @@ public function generateTableName($tableName)
}
return $tableName;
}
}
}

0 comments on commit 1c68ec3

Please sign in to comment.