aboutsummaryrefslogtreecommitdiffstats
path: root/doc/database/db_hook.bb
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-08 20:02:35 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-08 20:02:35 -0800
commit5e1b61eb02272698023204a29c1d96e5350f4ceb (patch)
tree14dd8ad1ab684d277cfe760004fe91a7ccb32123 /doc/database/db_hook.bb
parent4e1c308162877d7d6cd79c066f15b4d761e14853 (diff)
downloadvolse-hubzilla-5e1b61eb02272698023204a29c1d96e5350f4ceb.tar.gz
volse-hubzilla-5e1b61eb02272698023204a29c1d96e5350f4ceb.tar.bz2
volse-hubzilla-5e1b61eb02272698023204a29c1d96e5350f4ceb.zip
some more db doco
Diffstat (limited to 'doc/database/db_hook.bb')
-rw-r--r--doc/database/db_hook.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/database/db_hook.bb b/doc/database/db_hook.bb
index 6e8e907a1..0812b1b41 100644
--- a/doc/database/db_hook.bb
+++ b/doc/database/db_hook.bb
@@ -1,15 +1,15 @@
[table]
[tr][th]Field[/th][th]Description[/th][th]Type[/th][th]Null[/th][th]Key[/th][th]Default[/th][th]Extra
[/th][/tr]
-[tr][td]id[/td][td][/td][td]int(11)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
+[tr][td]id[/td][td]sequential ID[/td][td]int(11)[/td][td]NO[/td][td]PRI[/td][td]NULL[/td][td]auto_increment
[/td][/tr]
-[tr][td]hook[/td][td][/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
+[tr][td]hook[/td][td]name of hook[/td][td]char(255)[/td][td]NO[/td][td]MUL[/td][td]NULL[/td][td]
[/td][/tr]
-[tr][td]file[/td][td][/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
+[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][/td][td]char(255)[/td][td]NO[/td][td][/td][td]NULL[/td][td]
+[tr][td]function[/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][/td][td]int(11) unsigned[/td][td]NO[/td][td][/td][td]0[/td][td]
+[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]
[/td][/tr]
[/table]