Hi,
I’ve noticed that if no tablePrefix is declared on the DB component, table name resolution fails, and table ‘{{myatble}}’ is not found. To solve this, just declare an empty tablePrefix value.
'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname=mydb',
'emulatePrepare' => true,
'enableParamLogging'=> true,
'enableProfiling'=> true,
'username' => 'user',
'password' => '*******',
'charset' => 'utf8',
'tablePrefix' => '', // <- here !
),
It would be nice that even if no tablePrefix is declared, table name resolution would work by default like if it was declared as an empty string otherwise it become difficult to write a module dedicated to be distributed and that would integrate in the target app db.
Thanks