X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2Fdatabase%2Fdb_hook.md;h=0ad0981f0cf52c06b6d1258a17f3bb41a9eec0a4;hb=8dc4499bcfe0adef3a3a4ff77abfe0c5588a3409;hp=c25f674cc9ae9c3b50f5b0c5b8de89e81eac8838;hpb=2cd0c1d30d237806e9c3853aa0645f786e31855c;p=friendica.git diff --git a/doc/database/db_hook.md b/doc/database/db_hook.md index c25f674cc9..0ad0981f0c 100644 --- a/doc/database/db_hook.md +++ b/doc/database/db_hook.md @@ -3,6 +3,9 @@ Table hook addon hook registry +Fields +------ + | Field | Description | Type | Null | Key | Default | Extra | | -------- | ---------------------------------------------------------------------------------------------------------- | ----------------- | ---- | --- | ------- | -------------- | | id | sequential ID | int unsigned | NO | PRI | NULL | auto_increment | @@ -11,4 +14,14 @@ addon hook registry | function | function name of hook handler | varbinary(200) | NO | | | | | priority | not yet implemented - can be used to sort conflicts in hook handling by calling handlers in priority order | smallint unsigned | NO | | 0 | | +Indexes +------------ + +| Name | Fields | +| ------------------ | ---------------------------- | +| PRIMARY | id | +| priority | priority | +| hook_file_function | UNIQUE, hook, file, function | + + Return to [database documentation](help/database)