cotonti.com : updating siena plugins https://www.cotonti.com Последние сообщения в теме Cotonti en Mon, 08 Dec 2025 15:49:41 -0000 Trustmaster Yes, it will apply all patches between installed and latest version in their version order.

]]>
вс, 13 мар 2011 18:58:23 -0000
Dyllon fantastic! thank you.

Added 1 days later:

another question, say if it was upgraded again (1.2), although someone still has 1.0 installed.. will it run both sql files in consequent order?

]]>
чт, 10 мар 2011 17:17:07 -0000
Trustmaster Patch files are supported, file name format is:

  • sql_1.1.sql (for SQL patches, where 1.1 is new version number)
  • php_1.1.inc (for PHP patches)
]]>
чт, 10 мар 2011 17:02:25 -0000
Dyllon 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?

]]>
чт, 10 мар 2011 16:39:54 -0000