From cc09f9a7a5f799a0811ba83799c0a3ac6598c476 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sun, 19 Jun 2016 22:50:41 -0700 Subject: Added many of the recent schema changes to the database schema documentation --- doc/database/db_hook.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/database/db_hook.bb') 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] -- cgit v1.2.3