Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This tag is reserved for further implementations of plugin dependencies. The structure of tags is not final and may change.

plugin

...

_install.sql, plugin_uninstall.sql and plugin

...

_update.sql

These files contain additional statements executed on the installation / , uninstall or update of the plugin. 

Both files expects one statement per line. Multi line statements are currently not supported and will lead to errors.

...

Installation typeAvailable operations
Installation
  • CREATE TABLE IF NOT EXISTS
  • INSERT INTO

  • UPDATE
  • ALTER TABLE
Uninstall
  • DELETE FROM
  • DROP TABLE
Update
  • UPDATE
  • ALTER TABLE
  • DELETE FROM
  • DROP TABLE

 

The prefix placeholder contains the common database table prefix (per default: "con_") following by the chars "pi" for plugin.

...