We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Do Down Migrations run when you Uninstall an add-on

Development and Programming

From EE Slack's avatar
From EE Slack
185 posts
2 years ago
From EE Slack's avatar From EE Slack

Does uninstalling an add-on run all of the down functions inside of a migration? And remove the migration?

       
Matt Johnson's avatar
Matt Johnson
14 posts
2 years ago
Matt Johnson's avatar Matt Johnson

Uninstalling an addon will run the down function in the add-on’s migration as long as you are extending the ExpressionEngine\Service\Addon\Installer class in your Upd file, and are running the parent uninstall() function.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.