Skip to content

Commit

Permalink
Fixed issue: Error 'Property "Permission.entity_id" is not defined' w…
Browse files Browse the repository at this point in the history
…hen updating
  • Loading branch information
c-schmitz committed Dec 11, 2013
1 parent 38a8568 commit 9c9737a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/update/updatedb_helper.php
Expand Up @@ -1181,6 +1181,7 @@ function db_upgrade_all($iOldDBVersion) {
*/
function upgradePermissions166()
{
Permission::model()->refreshMetaData(); // Needed because otherwise Yii tries to use the outdate permission schema for the permission table
$oUsers=User::model()->findAll();
foreach($oUsers as $oUser)
{
Expand Down

0 comments on commit 9c9737a

Please sign in to comment.