Updating custom app

If there are only field changes (adding fields/updating current ones) then you would need to do the following:

  • Go to the the app directory (in frappe-bench/apps/custom-app) and pull the changes (git pull)
  • Go back to the frappe-bench directory and run the migrate command: bench migrate (in case of multiple sites, run the command with the site flag: bench --site sitename migrate)
  • bench migrate is the migration script which makes the appropriate changes in the db
  • In case you want to restart all processes, you can do bench restart
5 Likes