brocakun / Drush-Rebuild-Project-Paths

A drush command for Rebuilds the system table when you move projects around.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drush-Rebuild-Project-Paths

A drush command for Rebuilds the system table when you move projects around.

Steps:

  1. drush rpp
  2. echo "SHOW TABLES LIKE 'cache%'" | drush sql-connect | tail -n +2 | xargs -L1 -I% echo "DELETE FROM %;" | drush sql-connect -v
  3. drush updb
  4. drush rr

About

A drush command for Rebuilds the system table when you move projects around.