yii2 db error SQLSTATE[42S02]

SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘tarasovych.auth_item’ doesn’t exist The SQL being executed was: SELECT * FROM auth_item WHERE name=‘permBackend’

Error Info: Array


    [0] => 42S02

    [1] => 1146

    [2] => Table 'tarasovych.auth_item' doesn't exist


in main-local and main all db data is correct but in main there is

'tablePrefix' => 'tbl_',

If you are using table prefix in your app you should check the table names in the models. They should be wrapped in brackets

 public static function tableName()


        return '{{%tablename}}';


Else you must remove tablePrefix property from your configuration.