...
Tag name | Description | Required? | Example | |||||
---|---|---|---|---|---|---|---|---|
type | Content type name | yes |
|
plugin_install.sql, plugin_uninstall.sql and
...
update
...
sql files
These files contain additional statements executed on the installation, uninstall or update of the plugin.
...
Code Block | ||||
---|---|---|---|---|
| ||||
INSERT INTO !PREFIX!_news_log ... gets INSERT INTO con_pi_news_log ... |
You can also define version specific update sql files. Format: plugin_update_oldversionnumber_to_newversionnumber.sql. Please replace "oldversionnumber" with your old plugin versioh number without dots, for example "10" for version 1.0 and replace "newversionnumber" with your new plugin version number without dots, for example "11" for version 1.1. Your update file name: plugin_update_10_to_11.sql. With this file your plugin run your update statements, if you have installed plugin version 1.0 and want to updated it with plugin version 1.1.