Invoke hook_update for 4.7 upgrade and Luke's 4.7 db schema changes: http://drupaldocs.org/api/head/function/hook_update

Comments

fax8’s picture

Priority: Critical » Normal

Hi deekayen.. happy to see you posting here again.

Video module implements yet the hook_update..
maybe you are talking about the hook_update_n which make
db schema updates possible within drupal.

Is this what you are asking?

Moreover I heard of an install hook for head which make installing
of modules automated.. does someone know the status of this?

p.s.: setting this as normal bug becouse we are still in cvs development
and informations on manual upgrades are yet available.

deekayen’s picture

I probably linked to the wrong thing. I thought there was a new hook that can be invoked by Drupal 4.7's core update.php file that can be used to upgrade module DB stuff. If there is, I think that is a critical task for completing before tagging for 4.7.

fax8’s picture

Seems that deekayen finally implements this and commit changes to CVS.

Please set this task as fixed if video.install is ready and working.

Fabio

deekayen’s picture

Assigned: Unassigned » deekayen

It worked when I upgraded my site with 220 movies. My suggestion for video.mysql is to leave it in the DRUPAL-4-6 branch and remove it from HEAD and the DRUPAL-4-7 branch. I think if we don't remove it, we'll just confuse people, because the video_install() hook automatically creates the video tables when the video module is activated the first time on a 4.7 site. If I can get a +1 on that and one more person to test the .install file, I'll close this.

fax8’s picture

Status: Active » Fixed

tested successfully. Setting this as fixed.

Fabio

Anonymous’s picture

Status: Fixed » Closed (fixed)