git://git.onelab.eu
/
plcapi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove PLC.Debug.log, use PLC.Logger.logger instead
[plcapi.git]
/
extensions
/
README.txt
diff --git
a/extensions/README.txt
b/extensions/README.txt
index
b75a55e
..
f2ec3ac
100644
(file)
--- a/
extensions/README.txt
+++ b/
extensions/README.txt
@@
-2,6
+2,8
@@
Create a database extension by creating a tree like follows:
- /usr/share/plc_api/extensions/<name>-up*
Contains the SQL or script that sets up the extension's database needs.
- /usr/share/plc_api/extensions/<name>-up*
Contains the SQL or script that sets up the extension's database needs.
+This needs to execute
+INSERT INTO plc_db_extensions VALUES ('<name>', <version>);
- /usr/share/plc_api/extensions/<name>-down*
Contains the SQL or script that removes the extension from the database.
- /usr/share/plc_api/extensions/<name>-down*
Contains the SQL or script that removes the extension from the database.