1 Create a database extension by creating a tree like follows:
3 - /usr/share/plc_api/extensions/<name>-up*
4 Contains the SQL or script that sets up the extension's database needs.
6 - /usr/share/plc_api/extensions/<name>-down*
7 Contains the SQL or script that removes the extension from the database.
9 - /usr/share/plc_api/extensions/<name>/migrations/[0-9][0-9][0-9]-{up,down}-*
10 Migration scripts for the extension. One of the scripts for each version
12 UPDATE plc_db_extensions SET version = <version> WHERE name = '<name>'