Update 20130419190306_allow_merges_for_forks.rb

Postgress db migrate fails.(5.4=>6.0)
Merge pull request #4862 from dsekretov/patch-1

Update 20130419190306_allow_merges_for_forks.rb
Clear redis cache and precompile assets during update to 6.0. Fix #4874 #4840

As a consequence on the namespaces change from 5.4 to 6.0, after upgrade
lots of links on the dashboard were not working (pointing to projects
without the group part on the url).
Also, after upgrading to 6.0-stable, the network (branch history) function
does not work. The progress bar rotates forever, but the network graph cannot
be generated.

Clearing redis cache fixes those issues.
Merge pull request #4895 from axilleas/clear-cache

 Clear redis cache and precompile assets during update to 6.0. Fix #4874 #4840
Merge pull request #44 from gitlabhq/6-0-stable

6 0 stable