Latest !gnusocial nightly is only for the daring! But _please_ (first backup and then) try it out - the 'php scripts/upgrade.php' is the interesting and important part. It should do something like this:

Upgrading core schema...
Found old file table, upgrading it to contain 'urlhash' field...
DONE.
Updating urlhash fields in file table...
DONE.
Resuming core schema upgrade...
Found old file_redirection table, upgrading it to contain 'urlhash' field...
DONE.
Updating urlhash fields in file_redirection table...
DONE.
Resuming core schema upgrade...DONE.