title: How do I set table prefix in Yii
body: <p>In a project I am working on I need to set a table prefix for the project which I can change later. Browsing through the docs I came across this :
  <a href="http://www.yiiframework.com/doc/api/1.1/CDbConnection#tablePrefix-detail" rel="noreferrer">http://www.yiiframework.com/doc/api/1.1/CDbConnection#tablePrefix-detail</a></p>
  
  <p>But it is not explained where I implement this. I mean should I put it in protected/config/main.php or edit the core files ?</p>