aboutsummaryrefslogtreecommitdiffstats
path: root/doc/database/db_hook.bb
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-19 22:50:41 -0700
committerredmatrix <git@macgirvin.com>2016-06-19 22:50:41 -0700
commitcc09f9a7a5f799a0811ba83799c0a3ac6598c476 (patch)
treea541fb28d557246ff6460287d4c0acb513d6a730 /doc/database/db_hook.bb
parent4b505948f02aa7f4613ac096e32bc4466b354fb9 (diff)
downloadvolse-hubzilla-cc09f9a7a5f799a0811ba83799c0a3ac6598c476.tar.gz
volse-hubzilla-cc09f9a7a5f799a0811ba83799c0a3ac6598c476.tar.bz2
volse-hubzilla-cc09f9a7a5f799a0811ba83799c0a3ac6598c476.zip
Added many of the recent schema changes to the database schema documentation
Diffstat (limited to 'doc/database/db_hook.bb')
-rw-r--r--doc/database/db_hook.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/database/db_hook.bb b/doc/database/db_hook.bb
index 0812b1b41..233062f98 100644
--- a/doc/database/db_hook.bb
+++ b/doc/database/db_hook.bb
@@ -7,9 +7,11 @@
[/td][/tr]
[tr][td]file[/td][td]relative filename of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
[/td][/tr]
-[tr][td]function[/td][td]function name of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
+[tr][td]fn[/td][td]function name of hook handler[/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
[/td][/tr]
-[tr][td]priority[/td][td]not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order[/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
+[tr][td]priority[/td][td]can be used to sort conflicts in hook handling by calling handlers in priority order[/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
+[/td][/tr]
+[tr][td]hook_version[/td][td]version 0 hooks must have two arguments, the App and the hook data. version 1 hooks have 1 argument - the hook data[/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
[/td][/tr]
[/table]