phemellc / yii2-settings

Yii2 Settings Module
Other
151 stars 74 forks source link

Table prefix #7

Closed zhenya91 closed 9 years ago

zhenya91 commented 9 years ago

Hi! When i run migrations, at DB i got the table "settings" with my prefix "cs_settings". But in model(Settings) method "public static function tableName()" return table name without prefix, and I got error "table not found". I think need add return '{{%settings}}' to method "public static function tableName()"

arisk commented 9 years ago

Fixed. Thanks!