Update database
rename the foreign key
change de view yii
Merge branch 'master' of https://github.com/lombric/BRIC