Forums / Cotonti / Extensions / updating siena plugins

Dyllon
#28848 2011-03-10 16:39

My question is: when writing a plugin for siena, you have plugin.install.sql, and plugin.uninstall.sql. is there a way that you can have sql files allocated for each version change? example:

in plugin.setup.php i have :

Version=1.0

if i make changes to the sql file, and i change it to

Version=1.1

rather than uninstalling the plugin and losing everything, is it possible to have a seperate sql file ran when the user clicks update?

We are what we repeatedly do. Excellence then, is not an act, but a habit.