I get the following error after an update from CVS:

Database Problem

Unknown column 'permissions.from_uid' in 'where clause'
SELECT count(*) AS num FROM videodata LEFT JOIN userseen ON videodata.id = userseen.video_id AND userseen.user_id = '1' LEFT JOIN users ON videodata.owner_id = users.id WHERE mediatype != 50 AND permissions.from_uid = 1 AND permissions.permissions & 2 != 0

Did I mis an database upgrade script?