]> git.mxchange.org Git - friendica.git/commitdiff
Trailing whitespace removed
authorMichael <heluecht@pirati.ca>
Mon, 14 Jun 2021 06:10:11 +0000 (06:10 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 14 Jun 2021 06:10:11 +0000 (06:10 +0000)
72 files changed:
doc/database/db_2fa_app_specific_password.md
doc/database/db_2fa_recovery_codes.md
doc/database/db_2fa_trusted_browser.md
doc/database/db_addon.md
doc/database/db_apcontact.md
doc/database/db_application-token.md
doc/database/db_application.md
doc/database/db_attach.md
doc/database/db_auth_codes.md
doc/database/db_cache.md
doc/database/db_challenge.md
doc/database/db_clients.md
doc/database/db_config.md
doc/database/db_contact-relation.md
doc/database/db_contact.md
doc/database/db_conv.md
doc/database/db_conversation.md
doc/database/db_delayed-post.md
doc/database/db_diaspora-interaction.md
doc/database/db_event.md
doc/database/db_fcontact.md
doc/database/db_fsuggest.md
doc/database/db_group.md
doc/database/db_group_member.md
doc/database/db_gserver-tag.md
doc/database/db_gserver.md
doc/database/db_hook.md
doc/database/db_host.md
doc/database/db_inbox-status.md
doc/database/db_intro.md
doc/database/db_item-uri.md
doc/database/db_locks.md
doc/database/db_mail.md
doc/database/db_mailacct.md
doc/database/db_manage.md
doc/database/db_notification.md
doc/database/db_notify-threads.md
doc/database/db_notify.md
doc/database/db_oembed.md
doc/database/db_openwebauth-token.md
doc/database/db_parsed_url.md
doc/database/db_pconfig.md
doc/database/db_permissionset.md
doc/database/db_photo.md
doc/database/db_post-category.md
doc/database/db_post-content.md
doc/database/db_post-delivery-data.md
doc/database/db_post-media.md
doc/database/db_post-tag.md
doc/database/db_post-thread-user.md
doc/database/db_post-thread.md
doc/database/db_post-user-notification.md
doc/database/db_post-user.md
doc/database/db_post.md
doc/database/db_process.md
doc/database/db_profile.md
doc/database/db_profile_check.md
doc/database/db_profile_field.md
doc/database/db_push_subscriber.md
doc/database/db_register.md
doc/database/db_search.md
doc/database/db_session.md
doc/database/db_storage.md
doc/database/db_tag.md
doc/database/db_tokens.md
doc/database/db_user-contact.md
doc/database/db_user.md
doc/database/db_userd.md
doc/database/db_verb.md
doc/database/db_worker-ipc.md
doc/database/db_workerqueue.md
view/templates/structure.tpl

index 28ec292c6e0cbb8e1f982025ddcf7e2d9cdc12a5..6dba89bf41fa1f06185a9e5bf0df4b7dbcf7537b 100644 (file)
@@ -1,14 +1,15 @@
 Table 2fa_app_specific_password
 ===========
+
 Two-factor app-specific _password
 
-| Field           | Description                              | Type               | Null | Key | Default | Extra          |    
-| --------------- | ---------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |    
-| id              | Password ID for revocation               | mediumint unsigned | NO   | PRI | NULL    | auto_increment |    
-| uid             | User ID                                  | mediumint unsigned | NO   |     | NULL    |                |    
-| description     | Description of the usage of the password | varchar(255)       | YES  |     | NULL    |                |    
-| hashed_password | Hashed password                          | varchar(255)       | NO   |     | NULL    |                |    
-| generated       | Datetime the password was generated      | datetime           | NO   |     | NULL    |                |    
-| last_used       | Datetime the password was last used      | datetime           | YES  |     | NULL    |                |    
+| Field           | Description                              | Type               | Null | Key | Default | Extra          |
+| --------------- | ---------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
+| id              | Password ID for revocation               | mediumint unsigned | NO   | PRI | NULL    | auto_increment |
+| uid             | User ID                                  | mediumint unsigned | NO   |     | NULL    |                |
+| description     | Description of the usage of the password | varchar(255)       | YES  |     | NULL    |                |
+| hashed_password | Hashed password                          | varchar(255)       | NO   |     | NULL    |                |
+| generated       | Datetime the password was generated      | datetime           | NO   |     | NULL    |                |
+| last_used       | Datetime the password was last used      | datetime           | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 4263763693ba249b5eb60eb94afe1bea9f8d5221..30e00ef658b8ee054d0dd35bcd6abb1d5a1a07ef 100644 (file)
@@ -1,12 +1,13 @@
 Table 2fa_recovery_codes
 ===========
+
 Two-factor authentication recovery codes
 
-| Field     | Description                     | Type               | Null | Key | Default | Extra |    
-| --------- | ------------------------------- | ------------------ | ---- | --- | ------- | ----- |    
-| uid       | User ID                         | mediumint unsigned | NO   | PRI | NULL    |       |    
-| code      | Recovery code string            | varchar(50)        | NO   | PRI | NULL    |       |    
-| generated | Datetime the code was generated | datetime           | NO   |     | NULL    |       |    
-| used      | Datetime the code was used      | datetime           | YES  |     | NULL    |       |    
+| Field     | Description                     | Type               | Null | Key | Default | Extra |
+| --------- | ------------------------------- | ------------------ | ---- | --- | ------- | ----- |
+| uid       | User ID                         | mediumint unsigned | NO   | PRI | NULL    |       |
+| code      | Recovery code string            | varchar(50)        | NO   | PRI | NULL    |       |
+| generated | Datetime the code was generated | datetime           | NO   |     | NULL    |       |
+| used      | Datetime the code was used      | datetime           | YES  |     | NULL    |       |
 
 Return to [database documentation](help/database)
index b412c104b92404746ed34e1ff7d3139ef869bcd3..34845ba5794a6d5a19e4b78eec6b68ba1d6d35b6 100644 (file)
@@ -1,13 +1,14 @@
 Table 2fa_trusted_browser
 ===========
+
 Two-factor authentication trusted browsers
 
-| Field       | Description                                | Type               | Null | Key | Default | Extra |    
-| ----------- | ------------------------------------------ | ------------------ | ---- | --- | ------- | ----- |    
-| cookie_hash | Trusted cookie hash                        | varchar(80)        | NO   | PRI | NULL    |       |    
-| uid         | User ID                                    | mediumint unsigned | NO   |     | NULL    |       |    
-| user_agent  | User agent string                          | text               | YES  |     | NULL    |       |    
-| created     | Datetime the trusted browser was recorded  | datetime           | NO   |     | NULL    |       |    
-| last_used   | Datetime the trusted browser was last used | datetime           | YES  |     | NULL    |       |    
+| Field       | Description                                | Type               | Null | Key | Default | Extra |
+| ----------- | ------------------------------------------ | ------------------ | ---- | --- | ------- | ----- |
+| cookie_hash | Trusted cookie hash                        | varchar(80)        | NO   | PRI | NULL    |       |
+| uid         | User ID                                    | mediumint unsigned | NO   |     | NULL    |       |
+| user_agent  | User agent string                          | text               | YES  |     | NULL    |       |
+| created     | Datetime the trusted browser was recorded  | datetime           | NO   |     | NULL    |       |
+| last_used   | Datetime the trusted browser was last used | datetime           | YES  |     | NULL    |       |
 
 Return to [database documentation](help/database)
index 716ee9a1c533779ac510523f319f39cb6f0dff28..568e64a5a66063bf8658659f7b620758ce1bc90d 100644 (file)
@@ -1,15 +1,16 @@
 Table addon
 ===========
+
 registered addons
 
-| Field        | Description                                   | Type         | Null | Key | Default | Extra          |    
-| ------------ | --------------------------------------------- | ------------ | ---- | --- | ------- | -------------- |    
-| id           |                                               | int unsigned | NO   | PRI | NULL    | auto_increment |    
-| name         | addon base (file)name                         | varchar(50)  | NO   |     |         |                |    
-| version      | currently unused                              | varchar(50)  | NO   |     |         |                |    
-| installed    | currently always 1                            | boolean      | NO   |     | 0       |                |    
-| hidden       | currently unused                              | boolean      | NO   |     | 0       |                |    
-| timestamp    | file timestamp to check for reloads           | int unsigned | NO   |     | 0       |                |    
-| plugin_admin | 1 = has admin config, 0 = has no admin config | boolean      | NO   |     | 0       |                |    
+| Field        | Description                                   | Type         | Null | Key | Default | Extra          |
+| ------------ | --------------------------------------------- | ------------ | ---- | --- | ------- | -------------- |
+| id           |                                               | int unsigned | NO   | PRI | NULL    | auto_increment |
+| name         | addon base (file)name                         | varchar(50)  | NO   |     |         |                |
+| version      | currently unused                              | varchar(50)  | NO   |     |         |                |
+| installed    | currently always 1                            | boolean      | NO   |     | 0       |                |
+| hidden       | currently unused                              | boolean      | NO   |     | 0       |                |
+| timestamp    | file timestamp to check for reloads           | int unsigned | NO   |     | 0       |                |
+| plugin_admin | 1 = has admin config, 0 = has no admin config | boolean      | NO   |     | 0       |                |
 
 Return to [database documentation](help/database)
index a32cc2a9adb7340b6319e3e412c9c678ba29c4ea..c76c99b8b3d12fde50d03681f45f99a4427f5199 100644 (file)
@@ -1,32 +1,33 @@
 Table apcontact
 ===========
+
 ActivityPub compatible contacts - used in the ActivityPub implementation
 
-| Field            | Description                  | Type           | Null | Key | Default             | Extra |    
-| ---------------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |    
-| url              | URL of the contact           | varbinary(255) | NO   | PRI | NULL                |       |    
-| uuid             |                              | varchar(255)   | YES  |     | NULL                |       |    
-| type             |                              | varchar(20)    | NO   |     | NULL                |       |    
-| following        |                              | varchar(255)   | YES  |     | NULL                |       |    
-| followers        |                              | varchar(255)   | YES  |     | NULL                |       |    
-| inbox            |                              | varchar(255)   | NO   |     | NULL                |       |    
-| outbox           |                              | varchar(255)   | YES  |     | NULL                |       |    
-| sharedinbox      |                              | varchar(255)   | YES  |     | NULL                |       |    
-| manually-approve |                              | boolean        | YES  |     | NULL                |       |    
-| nick             |                              | varchar(255)   | NO   |     |                     |       |    
-| name             |                              | varchar(255)   | YES  |     | NULL                |       |    
-| about            |                              | text           | YES  |     | NULL                |       |    
-| photo            |                              | varchar(255)   | YES  |     | NULL                |       |    
-| addr             |                              | varchar(255)   | YES  |     | NULL                |       |    
-| alias            |                              | varchar(255)   | YES  |     | NULL                |       |    
-| pubkey           |                              | text           | YES  |     | NULL                |       |    
-| subscribe        |                              | varchar(255)   | YES  |     | NULL                |       |    
-| baseurl          | baseurl of the ap contact    | varchar(255)   | YES  |     | NULL                |       |    
-| gsid             | Global Server ID             | int unsigned   | YES  |     | NULL                |       |    
-| generator        | Name of the contact&#039;s system | varchar(255)   | YES  |     | NULL                |       |    
-| following_count  | Number of following contacts | int unsigned   | YES  |     | 0                   |       |    
-| followers_count  | Number of followers          | int unsigned   | YES  |     | 0                   |       |    
-| statuses_count   | Number of posts              | int unsigned   | YES  |     | 0                   |       |    
-| updated          |                              | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
+| Field            | Description                  | Type           | Null | Key | Default             | Extra |
+| ---------------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |
+| url              | URL of the contact           | varbinary(255) | NO   | PRI | NULL                |       |
+| uuid             |                              | varchar(255)   | YES  |     | NULL                |       |
+| type             |                              | varchar(20)    | NO   |     | NULL                |       |
+| following        |                              | varchar(255)   | YES  |     | NULL                |       |
+| followers        |                              | varchar(255)   | YES  |     | NULL                |       |
+| inbox            |                              | varchar(255)   | NO   |     | NULL                |       |
+| outbox           |                              | varchar(255)   | YES  |     | NULL                |       |
+| sharedinbox      |                              | varchar(255)   | YES  |     | NULL                |       |
+| manually-approve |                              | boolean        | YES  |     | NULL                |       |
+| nick             |                              | varchar(255)   | NO   |     |                     |       |
+| name             |                              | varchar(255)   | YES  |     | NULL                |       |
+| about            |                              | text           | YES  |     | NULL                |       |
+| photo            |                              | varchar(255)   | YES  |     | NULL                |       |
+| addr             |                              | varchar(255)   | YES  |     | NULL                |       |
+| alias            |                              | varchar(255)   | YES  |     | NULL                |       |
+| pubkey           |                              | text           | YES  |     | NULL                |       |
+| subscribe        |                              | varchar(255)   | YES  |     | NULL                |       |
+| baseurl          | baseurl of the ap contact    | varchar(255)   | YES  |     | NULL                |       |
+| gsid             | Global Server ID             | int unsigned   | YES  |     | NULL                |       |
+| generator        | Name of the contact&#039;s system | varchar(255)   | YES  |     | NULL                |       |
+| following_count  | Number of following contacts | int unsigned   | YES  |     | 0                   |       |
+| followers_count  | Number of followers          | int unsigned   | YES  |     | 0                   |       |
+| statuses_count   | Number of posts              | int unsigned   | YES  |     | 0                   |       |
+| updated          |                              | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
 
 Return to [database documentation](help/database)
index fd273989f092160406a934a3ca3c6c3c7537ee75..e37bce6c9f5d7d26cadb6d048ac25ff5e0e28907 100644 (file)
@@ -1,18 +1,19 @@
 Table application-token
 ===========
+
 OAuth user token
 
-| Field          | Description   | Type               | Null | Key | Default | Extra |    
-| -------------- | ------------- | ------------------ | ---- | --- | ------- | ----- |    
-| application-id |               | int unsigned       | NO   | PRI | NULL    |       |    
-| uid            | Owner User id | mediumint unsigned | NO   | PRI | NULL    |       |    
-| code           |               | varchar(64)        | NO   |     | NULL    |       |    
-| access_token   |               | varchar(64)        | NO   |     | NULL    |       |    
-| created_at     | creation time | datetime           | NO   |     | NULL    |       |    
-| scopes         |               | varchar(255)       | YES  |     | NULL    |       |    
-| read           | Read scope    | boolean            | YES  |     | NULL    |       |    
-| write          | Write scope   | boolean            | YES  |     | NULL    |       |    
-| follow         | Follow scope  | boolean            | YES  |     | NULL    |       |    
-| push           | Push scope    | boolean            | YES  |     | NULL    |       |    
+| Field          | Description   | Type               | Null | Key | Default | Extra |
+| -------------- | ------------- | ------------------ | ---- | --- | ------- | ----- |
+| application-id |               | int unsigned       | NO   | PRI | NULL    |       |
+| uid            | Owner User id | mediumint unsigned | NO   | PRI | NULL    |       |
+| code           |               | varchar(64)        | NO   |     | NULL    |       |
+| access_token   |               | varchar(64)        | NO   |     | NULL    |       |
+| created_at     | creation time | datetime           | NO   |     | NULL    |       |
+| scopes         |               | varchar(255)       | YES  |     | NULL    |       |
+| read           | Read scope    | boolean            | YES  |     | NULL    |       |
+| write          | Write scope   | boolean            | YES  |     | NULL    |       |
+| follow         | Follow scope  | boolean            | YES  |     | NULL    |       |
+| push           | Push scope    | boolean            | YES  |     | NULL    |       |
 
 Return to [database documentation](help/database)
index 3206d03be3c72389ddb03a9cb07db7aaed382a70..461cc1188103caab91afd3839ddd09f88adc7fd6 100644 (file)
@@ -1,19 +1,20 @@
 Table application
 ===========
+
 OAuth application
 
-| Field         | Description     | Type         | Null | Key | Default | Extra          |    
-| ------------- | --------------- | ------------ | ---- | --- | ------- | -------------- |    
-| id            | generated index | int unsigned | NO   | PRI | NULL    | auto_increment |    
-| client_id     |                 | varchar(64)  | NO   |     | NULL    |                |    
-| client_secret |                 | varchar(64)  | NO   |     | NULL    |                |    
-| name          |                 | varchar(255) | NO   |     | NULL    |                |    
-| redirect_uri  |                 | varchar(255) | NO   |     | NULL    |                |    
-| website       |                 | varchar(255) | YES  |     | NULL    |                |    
-| scopes        |                 | varchar(255) | YES  |     | NULL    |                |    
-| read          | Read scope      | boolean      | YES  |     | NULL    |                |    
-| write         | Write scope     | boolean      | YES  |     | NULL    |                |    
-| follow        | Follow scope    | boolean      | YES  |     | NULL    |                |    
-| push          | Push scope      | boolean      | YES  |     | NULL    |                |    
+| Field         | Description     | Type         | Null | Key | Default | Extra          |
+| ------------- | --------------- | ------------ | ---- | --- | ------- | -------------- |
+| id            | generated index | int unsigned | NO   | PRI | NULL    | auto_increment |
+| client_id     |                 | varchar(64)  | NO   |     | NULL    |                |
+| client_secret |                 | varchar(64)  | NO   |     | NULL    |                |
+| name          |                 | varchar(255) | NO   |     | NULL    |                |
+| redirect_uri  |                 | varchar(255) | NO   |     | NULL    |                |
+| website       |                 | varchar(255) | YES  |     | NULL    |                |
+| scopes        |                 | varchar(255) | YES  |     | NULL    |                |
+| read          | Read scope      | boolean      | YES  |     | NULL    |                |
+| write         | Write scope     | boolean      | YES  |     | NULL    |                |
+| follow        | Follow scope    | boolean      | YES  |     | NULL    |                |
+| push          | Push scope      | boolean      | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 95f736def63e671ba5764d2047219111dac0b2fd..4cbda2a17b5d9facc225f7ddaa916c136923d5f9 100644 (file)
@@ -1,23 +1,24 @@
 Table attach
 ===========
+
 file attachments
 
-| Field         | Description                                           | Type               | Null | Key | Default             | Extra          |    
-| ------------- | ----------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id            | generated index                                       | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid           | Owner User id                                         | mediumint unsigned | NO   |     | 0                   |                |    
-| hash          | hash                                                  | varchar(64)        | NO   |     |                     |                |    
-| filename      | filename of original                                  | varchar(255)       | NO   |     |                     |                |    
-| filetype      | mimetype                                              | varchar(64)        | NO   |     |                     |                |    
-| filesize      | size in bytes                                         | int unsigned       | NO   |     | 0                   |                |    
-| data          | file data                                             | longblob           | NO   |     | NULL                |                |    
-| created       | creation time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| edited        | last edit time                                        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| allow_cid     | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt; | mediumtext         | YES  |     | NULL                |                |    
-| allow_gid     | Access Control - list of allowed groups               | mediumtext         | YES  |     | NULL                |                |    
-| deny_cid      | Access Control - list of denied contact.id            | mediumtext         | YES  |     | NULL                |                |    
-| deny_gid      | Access Control - list of denied groups                | mediumtext         | YES  |     | NULL                |                |    
-| backend-class | Storage backend class                                 | tinytext           | YES  |     | NULL                |                |    
-| backend-ref   | Storage backend data reference                        | text               | YES  |     | NULL                |                |    
+| Field         | Description                                           | Type               | Null | Key | Default             | Extra          |
+| ------------- | ----------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id            | generated index                                       | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid           | Owner User id                                         | mediumint unsigned | NO   |     | 0                   |                |
+| hash          | hash                                                  | varchar(64)        | NO   |     |                     |                |
+| filename      | filename of original                                  | varchar(255)       | NO   |     |                     |                |
+| filetype      | mimetype                                              | varchar(64)        | NO   |     |                     |                |
+| filesize      | size in bytes                                         | int unsigned       | NO   |     | 0                   |                |
+| data          | file data                                             | longblob           | NO   |     | NULL                |                |
+| created       | creation time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| edited        | last edit time                                        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| allow_cid     | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt; | mediumtext         | YES  |     | NULL                |                |
+| allow_gid     | Access Control - list of allowed groups               | mediumtext         | YES  |     | NULL                |                |
+| deny_cid      | Access Control - list of denied contact.id            | mediumtext         | YES  |     | NULL                |                |
+| deny_gid      | Access Control - list of denied groups                | mediumtext         | YES  |     | NULL                |                |
+| backend-class | Storage backend class                                 | tinytext           | YES  |     | NULL                |                |
+| backend-ref   | Storage backend data reference                        | text               | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index 91d611069f96f56356f796fb39309c9574a600c9..fef3f987c1034e4552cbcf1822643dc7bfd79397 100644 (file)
@@ -1,13 +1,14 @@
 Table auth_codes
 ===========
+
 OAuth usage
 
-| Field        | Description | Type         | Null | Key | Default | Extra |    
-| ------------ | ----------- | ------------ | ---- | --- | ------- | ----- |    
-| id           |             | varchar(40)  | NO   | PRI | NULL    |       |    
-| client_id    |             | varchar(20)  | NO   |     |         |       |    
-| redirect_uri |             | varchar(200) | NO   |     |         |       |    
-| expires      |             | int          | NO   |     | 0       |       |    
-| scope        |             | varchar(250) | NO   |     |         |       |    
+| Field        | Description | Type         | Null | Key | Default | Extra |
+| ------------ | ----------- | ------------ | ---- | --- | ------- | ----- |
+| id           |             | varchar(40)  | NO   | PRI | NULL    |       |
+| client_id    |             | varchar(20)  | NO   |     |         |       |
+| redirect_uri |             | varchar(200) | NO   |     |         |       |
+| expires      |             | int          | NO   |     | 0       |       |
+| scope        |             | varchar(250) | NO   |     |         |       |
 
 Return to [database documentation](help/database)
index 42a2045e110727415991abd1c600ec184eac2bc8..300959ef384d5c6c5e533782e1bdc38d155d9d5c 100644 (file)
@@ -1,12 +1,13 @@
 Table cache
 ===========
+
 Stores temporary data
 
-| Field   | Description                  | Type           | Null | Key | Default             | Extra |    
-| ------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |    
-| k       | cache key                    | varbinary(255) | NO   | PRI | NULL                |       |    
-| v       | cached serialized value      | mediumtext     | YES  |     | NULL                |       |    
-| expires | datetime of cache expiration | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
-| updated | datetime of cache insertion  | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
+| Field   | Description                  | Type           | Null | Key | Default             | Extra |
+| ------- | ---------------------------- | -------------- | ---- | --- | ------------------- | ----- |
+| k       | cache key                    | varbinary(255) | NO   | PRI | NULL                |       |
+| v       | cached serialized value      | mediumtext     | YES  |     | NULL                |       |
+| expires | datetime of cache expiration | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
+| updated | datetime of cache insertion  | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
 
 Return to [database documentation](help/database)
index 0b7653e694299081678c2d062f993f64ef036e8f..5988954ab8678ca2298a76c1d0395b700accbb55 100644 (file)
@@ -2,13 +2,14 @@ Table challenge
 ===========
 
 
-| Field       | Description   | Type         | Null | Key | Default | Extra          |    
-| ----------- | ------------- | ------------ | ---- | --- | ------- | -------------- |    
-| id          | sequential ID | int unsigned | NO   | PRI | NULL    | auto_increment |    
-| challenge   |               | varchar(255) | NO   |     |         |                |    
-| dfrn-id     |               | varchar(255) | NO   |     |         |                |    
-| expire      |               | int unsigned | NO   |     | 0       |                |    
-| type        |               | varchar(255) | NO   |     |         |                |    
-| last_update |               | varchar(255) | NO   |     |         |                |    
+
+| Field       | Description   | Type         | Null | Key | Default | Extra          |
+| ----------- | ------------- | ------------ | ---- | --- | ------- | -------------- |
+| id          | sequential ID | int unsigned | NO   | PRI | NULL    | auto_increment |
+| challenge   |               | varchar(255) | NO   |     |         |                |
+| dfrn-id     |               | varchar(255) | NO   |     |         |                |
+| expire      |               | int unsigned | NO   |     | 0       |                |
+| type        |               | varchar(255) | NO   |     |         |                |
+| last_update |               | varchar(255) | NO   |     |         |                |
 
 Return to [database documentation](help/database)
index b354e2b58c8cd2a43020248d135272d9c95a485d..f907e0d969368579a59505a57250920fd34412de 100644 (file)
@@ -1,14 +1,15 @@
 Table clients
 ===========
+
 OAuth usage
 
-| Field        | Description | Type               | Null | Key | Default | Extra |    
-| ------------ | ----------- | ------------------ | ---- | --- | ------- | ----- |    
-| client_id    |             | varchar(20)        | NO   | PRI | NULL    |       |    
-| pw           |             | varchar(20)        | NO   |     |         |       |    
-| redirect_uri |             | varchar(200)       | NO   |     |         |       |    
-| name         |             | text               | YES  |     | NULL    |       |    
-| icon         |             | text               | YES  |     | NULL    |       |    
-| uid          | User id     | mediumint unsigned | NO   |     | 0       |       |    
+| Field        | Description | Type               | Null | Key | Default | Extra |
+| ------------ | ----------- | ------------------ | ---- | --- | ------- | ----- |
+| client_id    |             | varchar(20)        | NO   | PRI | NULL    |       |
+| pw           |             | varchar(20)        | NO   |     |         |       |
+| redirect_uri |             | varchar(200)       | NO   |     |         |       |
+| name         |             | text               | YES  |     | NULL    |       |
+| icon         |             | text               | YES  |     | NULL    |       |
+| uid          | User id     | mediumint unsigned | NO   |     | 0       |       |
 
 Return to [database documentation](help/database)
index fcd1c93bf0da47dea8e31aa6e633b48858d0e273..029723510d6f84a64aedb45c4a666b5ad65406e5 100644 (file)
@@ -1,12 +1,13 @@
 Table config
 ===========
+
 main configuration storage
 
-| Field | Description | Type          | Null | Key | Default | Extra          |    
-| ----- | ----------- | ------------- | ---- | --- | ------- | -------------- |    
-| id    |             | int unsigned  | NO   | PRI | NULL    | auto_increment |    
-| cat   |             | varbinary(50) | NO   |     |         |                |    
-| k     |             | varbinary(50) | NO   |     |         |                |    
-| v     |             | mediumtext    | YES  |     | NULL    |                |    
+| Field | Description | Type          | Null | Key | Default | Extra          |
+| ----- | ----------- | ------------- | ---- | --- | ------- | -------------- |
+| id    |             | int unsigned  | NO   | PRI | NULL    | auto_increment |
+| cat   |             | varbinary(50) | NO   |     |         |                |
+| k     |             | varbinary(50) | NO   |     |         |                |
+| v     |             | mediumtext    | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 82b90f79e295ef8ad8b5a80f46ed03aefa3d7a4b..9a86b8daf7b2923719b6590e223fea767a850b56 100644 (file)
@@ -1,13 +1,14 @@
 Table contact-relation
 ===========
+
 Contact relations
 
-| Field            | Description                                         | Type         | Null | Key | Default             | Extra |    
-| ---------------- | --------------------------------------------------- | ------------ | ---- | --- | ------------------- | ----- |    
-| cid              | contact the related contact had interacted with     | int unsigned | NO   | PRI | 0                   |       |    
-| relation-cid     | related contact who had interacted with the contact | int unsigned | NO   | PRI | 0                   |       |    
-| last-interaction | Date of the last interaction                        | datetime     | NO   |     | 0001-01-01 00:00:00 |       |    
-| follow-updated   | Date of the last update of the contact relationship | datetime     | NO   |     | 0001-01-01 00:00:00 |       |    
-| follows          |                                                     | boolean      | NO   |     | 0                   |       |    
+| Field            | Description                                         | Type         | Null | Key | Default             | Extra |
+| ---------------- | --------------------------------------------------- | ------------ | ---- | --- | ------------------- | ----- |
+| cid              | contact the related contact had interacted with     | int unsigned | NO   | PRI | 0                   |       |
+| relation-cid     | related contact who had interacted with the contact | int unsigned | NO   | PRI | 0                   |       |
+| last-interaction | Date of the last interaction                        | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
+| follow-updated   | Date of the last update of the contact relationship | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
+| follows          |                                                     | boolean      | NO   |     | 0                   |       |
 
 Return to [database documentation](help/database)
index 2d89f5172defca80d8fe05a123cd9178b1b478ba..340f95e0677bc1c78f2d8c2819df37df4a8186d7 100644 (file)
@@ -1,88 +1,89 @@
 Table contact
 ===========
+
 contact table
 
-| Field                     | Description                                               | Type               | Null | Key | Default             | Extra          |    
-| ------------------------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id                        | sequential ID                                             | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid                       | Owner User id                                             | mediumint unsigned | NO   |     | 0                   |                |    
-| created                   |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| updated                   | Date of last contact update                               | datetime           | YES  |     | 0001-01-01 00:00:00 |                |    
-| self                      | 1 if the contact is the user him/her self                 | boolean            | NO   |     | 0                   |                |    
-| remote_self               |                                                           | boolean            | NO   |     | 0                   |                |    
-| rel                       | The kind of the relation between the user and the contact | tinyint unsigned   | NO   |     | 0                   |                |    
-| duplex                    |                                                           | boolean            | NO   |     | 0                   |                |    
-| network                   | Network of the contact                                    | char(4)            | NO   |     |                     |                |    
-| protocol                  | Protocol of the contact                                   | char(4)            | NO   |     |                     |                |    
-| name                      | Name that this contact is known by                        | varchar(255)       | NO   |     |                     |                |    
-| nick                      | Nick- and user name of the contact                        | varchar(255)       | NO   |     |                     |                |    
-| location                  |                                                           | varchar(255)       | YES  |     |                     |                |    
-| about                     |                                                           | text               | YES  |     | NULL                |                |    
-| keywords                  | public keywords (interests) of the contact                | text               | YES  |     | NULL                |                |    
-| gender                    | Deprecated                                                | varchar(32)        | NO   |     |                     |                |    
-| xmpp                      |                                                           | varchar(255)       | NO   |     |                     |                |    
-| attag                     |                                                           | varchar(255)       | NO   |     |                     |                |    
-| avatar                    |                                                           | varchar(255)       | NO   |     |                     |                |    
-| photo                     | Link to the profile photo of the contact                  | varchar(255)       | YES  |     |                     |                |    
-| thumb                     | Link to the profile photo (thumb size)                    | varchar(255)       | YES  |     |                     |                |    
-| micro                     | Link to the profile photo (micro size)                    | varchar(255)       | YES  |     |                     |                |    
-| site-pubkey               |                                                           | text               | YES  |     | NULL                |                |    
-| issued-id                 |                                                           | varchar(255)       | NO   |     |                     |                |    
-| dfrn-id                   |                                                           | varchar(255)       | NO   |     |                     |                |    
-| url                       |                                                           | varchar(255)       | NO   |     |                     |                |    
-| nurl                      |                                                           | varchar(255)       | NO   |     |                     |                |    
-| addr                      |                                                           | varchar(255)       | NO   |     |                     |                |    
-| alias                     |                                                           | varchar(255)       | NO   |     |                     |                |    
-| pubkey                    | RSA public key 4096 bit                                   | text               | YES  |     | NULL                |                |    
-| prvkey                    | RSA private key 4096 bit                                  | text               | YES  |     | NULL                |                |    
-| batch                     |                                                           | varchar(255)       | NO   |     |                     |                |    
-| request                   |                                                           | varchar(255)       | YES  |     | NULL                |                |    
-| notify                    |                                                           | varchar(255)       | YES  |     | NULL                |                |    
-| poll                      |                                                           | varchar(255)       | YES  |     | NULL                |                |    
-| confirm                   |                                                           | varchar(255)       | YES  |     | NULL                |                |    
-| subscribe                 |                                                           | varchar(255)       | YES  |     | NULL                |                |    
-| poco                      |                                                           | varchar(255)       | YES  |     | NULL                |                |    
-| aes_allow                 |                                                           | boolean            | NO   |     | 0                   |                |    
-| ret-aes                   |                                                           | boolean            | NO   |     | 0                   |                |    
-| usehub                    |                                                           | boolean            | NO   |     | 0                   |                |    
-| subhub                    |                                                           | boolean            | NO   |     | 0                   |                |    
-| hub-verify                |                                                           | varchar(255)       | NO   |     |                     |                |    
-| last-update               | Date of the last try to update the contact info           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| success_update            | Date of the last successful contact update                | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| failure_update            | Date of the last failed update                            | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| failed                    | Connection failed                                         | boolean            | YES  |     | NULL                |                |    
-| name-date                 |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| uri-date                  |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| avatar-date               |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| term-date                 |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| last-item                 | date of the last post                                     | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| last-discovery            | date of the last follower discovery                       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| priority                  |                                                           | tinyint unsigned   | NO   |     | 0                   |                |    
-| blocked                   | Node-wide block status                                    | boolean            | NO   |     | 1                   |                |    
-| block_reason              | Node-wide block reason                                    | text               | YES  |     | NULL                |                |    
-| readonly                  | posts of the contact are readonly                         | boolean            | NO   |     | 0                   |                |    
-| writable                  |                                                           | boolean            | NO   |     | 0                   |                |    
-| forum                     | contact is a forum                                        | boolean            | NO   |     | 0                   |                |    
-| prv                       | contact is a private group                                | boolean            | NO   |     | 0                   |                |    
-| contact-type              |                                                           | tinyint            | NO   |     | 0                   |                |    
-| manually-approve          |                                                           | boolean            | YES  |     | NULL                |                |    
-| hidden                    |                                                           | boolean            | NO   |     | 0                   |                |    
-| archive                   |                                                           | boolean            | NO   |     | 0                   |                |    
-| pending                   |                                                           | boolean            | NO   |     | 1                   |                |    
-| deleted                   | Contact has been deleted                                  | boolean            | NO   |     | 0                   |                |    
-| rating                    |                                                           | tinyint            | NO   |     | 0                   |                |    
-| unsearchable              | Contact prefers to not be searchable                      | boolean            | NO   |     | 0                   |                |    
-| sensitive                 | Contact posts sensitive content                           | boolean            | NO   |     | 0                   |                |    
-| baseurl                   | baseurl of the contact                                    | varchar(255)       | YES  |     |                     |                |    
-| gsid                      | Global Server ID                                          | int unsigned       | YES  |     | NULL                |                |    
-| reason                    |                                                           | text               | YES  |     | NULL                |                |    
-| closeness                 |                                                           | tinyint unsigned   | NO   |     | 99                  |                |    
-| info                      |                                                           | mediumtext         | YES  |     | NULL                |                |    
-| profile-id                | Deprecated                                                | int unsigned       | YES  |     | NULL                |                |    
-| bdyear                    |                                                           | varchar(4)         | NO   |     |                     |                |    
-| bd                        |                                                           | date               | NO   |     | 0001-01-01          |                |    
-| notify_new_posts          |                                                           | boolean            | NO   |     | 0                   |                |    
-| fetch_further_information |                                                           | tinyint unsigned   | NO   |     | 0                   |                |    
-| ffi_keyword_denylist      |                                                           | text               | YES  |     | NULL                |                |    
+| Field                     | Description                                               | Type               | Null | Key | Default             | Extra          |
+| ------------------------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id                        | sequential ID                                             | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid                       | Owner User id                                             | mediumint unsigned | NO   |     | 0                   |                |
+| created                   |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| updated                   | Date of last contact update                               | datetime           | YES  |     | 0001-01-01 00:00:00 |                |
+| self                      | 1 if the contact is the user him/her self                 | boolean            | NO   |     | 0                   |                |
+| remote_self               |                                                           | boolean            | NO   |     | 0                   |                |
+| rel                       | The kind of the relation between the user and the contact | tinyint unsigned   | NO   |     | 0                   |                |
+| duplex                    |                                                           | boolean            | NO   |     | 0                   |                |
+| network                   | Network of the contact                                    | char(4)            | NO   |     |                     |                |
+| protocol                  | Protocol of the contact                                   | char(4)            | NO   |     |                     |                |
+| name                      | Name that this contact is known by                        | varchar(255)       | NO   |     |                     |                |
+| nick                      | Nick- and user name of the contact                        | varchar(255)       | NO   |     |                     |                |
+| location                  |                                                           | varchar(255)       | YES  |     |                     |                |
+| about                     |                                                           | text               | YES  |     | NULL                |                |
+| keywords                  | public keywords (interests) of the contact                | text               | YES  |     | NULL                |                |
+| gender                    | Deprecated                                                | varchar(32)        | NO   |     |                     |                |
+| xmpp                      |                                                           | varchar(255)       | NO   |     |                     |                |
+| attag                     |                                                           | varchar(255)       | NO   |     |                     |                |
+| avatar                    |                                                           | varchar(255)       | NO   |     |                     |                |
+| photo                     | Link to the profile photo of the contact                  | varchar(255)       | YES  |     |                     |                |
+| thumb                     | Link to the profile photo (thumb size)                    | varchar(255)       | YES  |     |                     |                |
+| micro                     | Link to the profile photo (micro size)                    | varchar(255)       | YES  |     |                     |                |
+| site-pubkey               |                                                           | text               | YES  |     | NULL                |                |
+| issued-id                 |                                                           | varchar(255)       | NO   |     |                     |                |
+| dfrn-id                   |                                                           | varchar(255)       | NO   |     |                     |                |
+| url                       |                                                           | varchar(255)       | NO   |     |                     |                |
+| nurl                      |                                                           | varchar(255)       | NO   |     |                     |                |
+| addr                      |                                                           | varchar(255)       | NO   |     |                     |                |
+| alias                     |                                                           | varchar(255)       | NO   |     |                     |                |
+| pubkey                    | RSA public key 4096 bit                                   | text               | YES  |     | NULL                |                |
+| prvkey                    | RSA private key 4096 bit                                  | text               | YES  |     | NULL                |                |
+| batch                     |                                                           | varchar(255)       | NO   |     |                     |                |
+| request                   |                                                           | varchar(255)       | YES  |     | NULL                |                |
+| notify                    |                                                           | varchar(255)       | YES  |     | NULL                |                |
+| poll                      |                                                           | varchar(255)       | YES  |     | NULL                |                |
+| confirm                   |                                                           | varchar(255)       | YES  |     | NULL                |                |
+| subscribe                 |                                                           | varchar(255)       | YES  |     | NULL                |                |
+| poco                      |                                                           | varchar(255)       | YES  |     | NULL                |                |
+| aes_allow                 |                                                           | boolean            | NO   |     | 0                   |                |
+| ret-aes                   |                                                           | boolean            | NO   |     | 0                   |                |
+| usehub                    |                                                           | boolean            | NO   |     | 0                   |                |
+| subhub                    |                                                           | boolean            | NO   |     | 0                   |                |
+| hub-verify                |                                                           | varchar(255)       | NO   |     |                     |                |
+| last-update               | Date of the last try to update the contact info           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| success_update            | Date of the last successful contact update                | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| failure_update            | Date of the last failed update                            | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| failed                    | Connection failed                                         | boolean            | YES  |     | NULL                |                |
+| name-date                 |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| uri-date                  |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| avatar-date               |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| term-date                 |                                                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| last-item                 | date of the last post                                     | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| last-discovery            | date of the last follower discovery                       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| priority                  |                                                           | tinyint unsigned   | NO   |     | 0                   |                |
+| blocked                   | Node-wide block status                                    | boolean            | NO   |     | 1                   |                |
+| block_reason              | Node-wide block reason                                    | text               | YES  |     | NULL                |                |
+| readonly                  | posts of the contact are readonly                         | boolean            | NO   |     | 0                   |                |
+| writable                  |                                                           | boolean            | NO   |     | 0                   |                |
+| forum                     | contact is a forum                                        | boolean            | NO   |     | 0                   |                |
+| prv                       | contact is a private group                                | boolean            | NO   |     | 0                   |                |
+| contact-type              |                                                           | tinyint            | NO   |     | 0                   |                |
+| manually-approve          |                                                           | boolean            | YES  |     | NULL                |                |
+| hidden                    |                                                           | boolean            | NO   |     | 0                   |                |
+| archive                   |                                                           | boolean            | NO   |     | 0                   |                |
+| pending                   |                                                           | boolean            | NO   |     | 1                   |                |
+| deleted                   | Contact has been deleted                                  | boolean            | NO   |     | 0                   |                |
+| rating                    |                                                           | tinyint            | NO   |     | 0                   |                |
+| unsearchable              | Contact prefers to not be searchable                      | boolean            | NO   |     | 0                   |                |
+| sensitive                 | Contact posts sensitive content                           | boolean            | NO   |     | 0                   |                |
+| baseurl                   | baseurl of the contact                                    | varchar(255)       | YES  |     |                     |                |
+| gsid                      | Global Server ID                                          | int unsigned       | YES  |     | NULL                |                |
+| reason                    |                                                           | text               | YES  |     | NULL                |                |
+| closeness                 |                                                           | tinyint unsigned   | NO   |     | 99                  |                |
+| info                      |                                                           | mediumtext         | YES  |     | NULL                |                |
+| profile-id                | Deprecated                                                | int unsigned       | YES  |     | NULL                |                |
+| bdyear                    |                                                           | varchar(4)         | NO   |     |                     |                |
+| bd                        |                                                           | date               | NO   |     | 0001-01-01          |                |
+| notify_new_posts          |                                                           | boolean            | NO   |     | 0                   |                |
+| fetch_further_information |                                                           | tinyint unsigned   | NO   |     | 0                   |                |
+| ffi_keyword_denylist      |                                                           | text               | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index 8cf835b7e3866689728f08340d132fcf8cbb59c7..11bd7ac13d4548feb0d21be5037b906684b01897 100644 (file)
@@ -1,16 +1,17 @@
 Table conv
 ===========
+
 private messages
 
-| Field   | Description                               | Type               | Null | Key | Default             | Extra          |    
-| ------- | ----------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id      | sequential ID                             | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| guid    | A unique identifier for this conversation | varchar(255)       | NO   |     |                     |                |    
-| recips  | sender_handle;recipient_handle            | text               | YES  |     | NULL                |                |    
-| uid     | Owner User id                             | mediumint unsigned | NO   |     | 0                   |                |    
-| creator | handle of creator                         | varchar(255)       | NO   |     |                     |                |    
-| created | creation timestamp                        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| updated | edited timestamp                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| subject | subject of initial message                | text               | YES  |     | NULL                |                |    
+| Field   | Description                               | Type               | Null | Key | Default             | Extra          |
+| ------- | ----------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id      | sequential ID                             | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| guid    | A unique identifier for this conversation | varchar(255)       | NO   |     |                     |                |
+| recips  | sender_handle;recipient_handle            | text               | YES  |     | NULL                |                |
+| uid     | Owner User id                             | mediumint unsigned | NO   |     | 0                   |                |
+| creator | handle of creator                         | varchar(255)       | NO   |     |                     |                |
+| created | creation timestamp                        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| updated | edited timestamp                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| subject | subject of initial message                | text               | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index 5e62f21b11cccf1b6cf6bd4f1176c819c5ceccea..964a98d6100220e256acc36b0d6d01d7e43bc9a8 100644 (file)
@@ -1,16 +1,17 @@
 Table conversation
 ===========
+
 Raw data and structure information for messages
 
-| Field             | Description                                                          | Type             | Null | Key | Default             | Extra |    
-| ----------------- | -------------------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | ----- |    
-| item-uri          | Original URI of the item - unrelated to the table with the same name | varbinary(255)   | NO   | PRI | NULL                |       |    
-| reply-to-uri      | URI to which this item is a reply                                    | varbinary(255)   | NO   |     |                     |       |    
-| conversation-uri  | GNU Social conversation URI                                          | varbinary(255)   | NO   |     |                     |       |    
-| conversation-href | GNU Social conversation link                                         | varbinary(255)   | NO   |     |                     |       |    
-| protocol          | The protocol of the item                                             | tinyint unsigned | NO   |     | 255                 |       |    
-| direction         | How the message arrived here: 1=push, 2=pull                         | tinyint unsigned | NO   |     | 0                   |       |    
-| source            | Original source                                                      | mediumtext       | YES  |     | NULL                |       |    
-| received          | Receiving date                                                       | datetime         | NO   |     | 0001-01-01 00:00:00 |       |    
+| Field             | Description                                                          | Type             | Null | Key | Default             | Extra |
+| ----------------- | -------------------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | ----- |
+| item-uri          | Original URI of the item - unrelated to the table with the same name | varbinary(255)   | NO   | PRI | NULL                |       |
+| reply-to-uri      | URI to which this item is a reply                                    | varbinary(255)   | NO   |     |                     |       |
+| conversation-uri  | GNU Social conversation URI                                          | varbinary(255)   | NO   |     |                     |       |
+| conversation-href | GNU Social conversation link                                         | varbinary(255)   | NO   |     |                     |       |
+| protocol          | The protocol of the item                                             | tinyint unsigned | NO   |     | 255                 |       |
+| direction         | How the message arrived here: 1=push, 2=pull                         | tinyint unsigned | NO   |     | 0                   |       |
+| source            | Original source                                                      | mediumtext       | YES  |     | NULL                |       |
+| received          | Receiving date                                                       | datetime         | NO   |     | 0001-01-01 00:00:00 |       |
 
 Return to [database documentation](help/database)
index cdf9b7d5717e03d0019bac9fe53bcffefe8aa606..0f1c2f5cf11e769238ec95fb7272705c0bc1e364 100644 (file)
@@ -1,12 +1,13 @@
 Table delayed-post
 ===========
+
 Posts that are about to be distributed at a later time
 
-| Field   | Description                                    | Type               | Null | Key | Default | Extra          |    
-| ------- | ---------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |    
-| id      |                                                | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uri     | URI of the post that will be distributed later | varchar(255)       | YES  |     | NULL    |                |    
-| uid     | Owner User id                                  | mediumint unsigned | YES  |     | NULL    |                |    
-| delayed | delay time                                     | datetime           | YES  |     | NULL    |                |    
+| Field   | Description                                    | Type               | Null | Key | Default | Extra          |
+| ------- | ---------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
+| id      |                                                | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uri     | URI of the post that will be distributed later | varchar(255)       | YES  |     | NULL    |                |
+| uid     | Owner User id                                  | mediumint unsigned | YES  |     | NULL    |                |
+| delayed | delay time                                     | datetime           | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 0300be72a4cb66c082cc82524c42b1ae3e813ffb..503c846fd96da8ea73d985dc37653e4aea152410 100644 (file)
@@ -1,10 +1,11 @@
 Table diaspora-interaction
 ===========
+
 Signed Diaspora Interaction
 
-| Field       | Description                                               | Type         | Null | Key | Default | Extra |    
-| ----------- | --------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |    
-| uri-id      | Id of the item-uri table entry that contains the item uri | int unsigned | NO   | PRI | NULL    |       |    
-| interaction | The Diaspora interaction                                  | mediumtext   | YES  |     | NULL    |       |    
+| Field       | Description                                               | Type         | Null | Key | Default | Extra |
+| ----------- | --------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |
+| uri-id      | Id of the item-uri table entry that contains the item uri | int unsigned | NO   | PRI | NULL    |       |
+| interaction | The Diaspora interaction                                  | mediumtext   | YES  |     | NULL    |       |
 
 Return to [database documentation](help/database)
index 69c4d76b9ef22b8e12f21178b9ca24baf896d195..72cec001289f01834c0fa3601415807d8a4ca3b6 100644 (file)
@@ -1,28 +1,29 @@
 Table event
 ===========
+
 Events
 
-| Field     | Description                                            | Type               | Null | Key | Default             | Extra          |    
-| --------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id        | sequential ID                                          | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| guid      |                                                        | varchar(255)       | NO   |     |                     |                |    
-| uid       | Owner User id                                          | mediumint unsigned | NO   |     | 0                   |                |    
-| cid       | contact_id (ID of the contact in contact table)        | int unsigned       | NO   |     | 0                   |                |    
-| uri       |                                                        | varchar(255)       | NO   |     |                     |                |    
-| created   | creation time                                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| edited    | last edit time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| start     | event start time                                       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| finish    | event end time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| summary   | short description or title of the event                | text               | YES  |     | NULL                |                |    
-| desc      | event description                                      | text               | YES  |     | NULL                |                |    
-| location  | event location                                         | text               | YES  |     | NULL                |                |    
-| type      | event or birthday                                      | varchar(20)        | NO   |     |                     |                |    
-| nofinish  | if event does have no end this is 1                    | boolean            | NO   |     | 0                   |                |    
-| adjust    | adjust to timezone of the recipient (0 or 1)           | boolean            | NO   |     | 1                   |                |    
-| ignore    | 0 or 1                                                 | boolean            | NO   |     | 0                   |                |    
-| allow_cid | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt;&#039; | mediumtext         | YES  |     | NULL                |                |    
-| allow_gid | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL                |                |    
-| deny_cid  | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL                |                |    
-| deny_gid  | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL                |                |    
+| Field     | Description                                            | Type               | Null | Key | Default             | Extra          |
+| --------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------------------- | -------------- |
+| id        | sequential ID                                          | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| guid      |                                                        | varchar(255)       | NO   |     |                     |                |
+| uid       | Owner User id                                          | mediumint unsigned | NO   |     | 0                   |                |
+| cid       | contact_id (ID of the contact in contact table)        | int unsigned       | NO   |     | 0                   |                |
+| uri       |                                                        | varchar(255)       | NO   |     |                     |                |
+| created   | creation time                                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| edited    | last edit time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| start     | event start time                                       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| finish    | event end time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| summary   | short description or title of the event                | text               | YES  |     | NULL                |                |
+| desc      | event description                                      | text               | YES  |     | NULL                |                |
+| location  | event location                                         | text               | YES  |     | NULL                |                |
+| type      | event or birthday                                      | varchar(20)        | NO   |     |                     |                |
+| nofinish  | if event does have no end this is 1                    | boolean            | NO   |     | 0                   |                |
+| adjust    | adjust to timezone of the recipient (0 or 1)           | boolean            | NO   |     | 1                   |                |
+| ignore    | 0 or 1                                                 | boolean            | NO   |     | 0                   |                |
+| allow_cid | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt;&#039; | mediumtext         | YES  |     | NULL                |                |
+| allow_gid | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL                |                |
+| deny_cid  | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL                |                |
+| deny_gid  | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index 84db712f3d3b9a178a542ab7ea401f9cf5dab215..f20ca6cd05a10f4c9b02332d0433908f2a0ace0f 100644 (file)
@@ -1,25 +1,26 @@
 Table fcontact
 ===========
+
 Diaspora compatible contacts - used in the Diaspora implementation
 
-| Field    | Description   | Type             | Null | Key | Default             | Extra          |    
-| -------- | ------------- | ---------------- | ---- | --- | ------------------- | -------------- |    
-| id       | sequential ID | int unsigned     | NO   | PRI | NULL                | auto_increment |    
-| guid     | unique id     | varchar(255)     | NO   |     |                     |                |    
-| url      |               | varchar(255)     | NO   |     |                     |                |    
-| name     |               | varchar(255)     | NO   |     |                     |                |    
-| photo    |               | varchar(255)     | NO   |     |                     |                |    
-| request  |               | varchar(255)     | NO   |     |                     |                |    
-| nick     |               | varchar(255)     | NO   |     |                     |                |    
-| addr     |               | varchar(255)     | NO   |     |                     |                |    
-| batch    |               | varchar(255)     | NO   |     |                     |                |    
-| notify   |               | varchar(255)     | NO   |     |                     |                |    
-| poll     |               | varchar(255)     | NO   |     |                     |                |    
-| confirm  |               | varchar(255)     | NO   |     |                     |                |    
-| priority |               | tinyint unsigned | NO   |     | 0                   |                |    
-| network  |               | char(4)          | NO   |     |                     |                |    
-| alias    |               | varchar(255)     | NO   |     |                     |                |    
-| pubkey   |               | text             | YES  |     | NULL                |                |    
-| updated  |               | datetime         | NO   |     | 0001-01-01 00:00:00 |                |    
+| Field    | Description   | Type             | Null | Key | Default             | Extra          |
+| -------- | ------------- | ---------------- | ---- | --- | ------------------- | -------------- |
+| id       | sequential ID | int unsigned     | NO   | PRI | NULL                | auto_increment |
+| guid     | unique id     | varchar(255)     | NO   |     |                     |                |
+| url      |               | varchar(255)     | NO   |     |                     |                |
+| name     |               | varchar(255)     | NO   |     |                     |                |
+| photo    |               | varchar(255)     | NO   |     |                     |                |
+| request  |               | varchar(255)     | NO   |     |                     |                |
+| nick     |               | varchar(255)     | NO   |     |                     |                |
+| addr     |               | varchar(255)     | NO   |     |                     |                |
+| batch    |               | varchar(255)     | NO   |     |                     |                |
+| notify   |               | varchar(255)     | NO   |     |                     |                |
+| poll     |               | varchar(255)     | NO   |     |                     |                |
+| confirm  |               | varchar(255)     | NO   |     |                     |                |
+| priority |               | tinyint unsigned | NO   |     | 0                   |                |
+| network  |               | char(4)          | NO   |     |                     |                |
+| alias    |               | varchar(255)     | NO   |     |                     |                |
+| pubkey   |               | text             | YES  |     | NULL                |                |
+| updated  |               | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index 20955acc918601d0eeed9de6e7db27c77bba1c27..d3a8e21ab58f40b7a1ccc9818b9d6ce589fd270a 100644 (file)
@@ -1,17 +1,18 @@
 Table fsuggest
 ===========
+
 friend suggestion stuff
 
-| Field   | Description | Type               | Null | Key | Default             | Extra          |    
-| ------- | ----------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id      |             | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid     | User id     | mediumint unsigned | NO   |     | 0                   |                |    
-| cid     |             | int unsigned       | NO   |     | 0                   |                |    
-| name    |             | varchar(255)       | NO   |     |                     |                |    
-| url     |             | varchar(255)       | NO   |     |                     |                |    
-| request |             | varchar(255)       | NO   |     |                     |                |    
-| photo   |             | varchar(255)       | NO   |     |                     |                |    
-| note    |             | text               | YES  |     | NULL                |                |    
-| created |             | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
+| Field   | Description | Type               | Null | Key | Default             | Extra          |
+| ------- | ----------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id      |             | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid     | User id     | mediumint unsigned | NO   |     | 0                   |                |
+| cid     |             | int unsigned       | NO   |     | 0                   |                |
+| name    |             | varchar(255)       | NO   |     |                     |                |
+| url     |             | varchar(255)       | NO   |     |                     |                |
+| request |             | varchar(255)       | NO   |     |                     |                |
+| photo   |             | varchar(255)       | NO   |     |                     |                |
+| note    |             | text               | YES  |     | NULL                |                |
+| created |             | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index d81148bd642ac50683cd7a80ed3c80a552bfa5a2..7ea3a0d2ffff09a2a561f4ea1c9bee110f06746a 100644 (file)
@@ -1,13 +1,14 @@
 Table group
 ===========
+
 privacy groups, group info
 
-| Field   | Description                                | Type               | Null | Key | Default | Extra          |    
-| ------- | ------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |    
-| id      | sequential ID                              | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uid     | Owner User id                              | mediumint unsigned | NO   |     | 0       |                |    
-| visible | 1 indicates the member list is not private | boolean            | NO   |     | 0       |                |    
-| deleted | 1 indicates the group has been deleted     | boolean            | NO   |     | 0       |                |    
-| name    | human readable name of group               | varchar(255)       | NO   |     |         |                |    
+| Field   | Description                                | Type               | Null | Key | Default | Extra          |
+| ------- | ------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |
+| id      | sequential ID                              | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uid     | Owner User id                              | mediumint unsigned | NO   |     | 0       |                |
+| visible | 1 indicates the member list is not private | boolean            | NO   |     | 0       |                |
+| deleted | 1 indicates the group has been deleted     | boolean            | NO   |     | 0       |                |
+| name    | human readable name of group               | varchar(255)       | NO   |     |         |                |
 
 Return to [database documentation](help/database)
index 6057c15b424ee30b5592f897320b6f109af0f06b..ba0960df446eab1cd262ea610d86aea430a1ac33 100644 (file)
@@ -1,11 +1,12 @@
 Table group_member
 ===========
+
 privacy groups, member info
 
-| Field      | Description                                               | Type         | Null | Key | Default | Extra          |    
-| ---------- | --------------------------------------------------------- | ------------ | ---- | --- | ------- | -------------- |    
-| id         | sequential ID                                             | int unsigned | NO   | PRI | NULL    | auto_increment |    
-| gid        | groups.id of the associated group                         | int unsigned | NO   |     | 0       |                |    
-| contact-id | contact.id of the member assigned to the associated group | int unsigned | NO   |     | 0       |                |    
+| Field      | Description                                               | Type         | Null | Key | Default | Extra          |
+| ---------- | --------------------------------------------------------- | ------------ | ---- | --- | ------- | -------------- |
+| id         | sequential ID                                             | int unsigned | NO   | PRI | NULL    | auto_increment |
+| gid        | groups.id of the associated group                         | int unsigned | NO   |     | 0       |                |
+| contact-id | contact.id of the member assigned to the associated group | int unsigned | NO   |     | 0       |                |
 
 Return to [database documentation](help/database)
index 47dedeb540333b2e2bfaf913e859998a299aaa39..dba65c45aba5d220e95bc566f6d42d851f6fdaa8 100644 (file)
@@ -1,10 +1,11 @@
 Table gserver-tag
 ===========
+
 Tags that the server has subscribed
 
-| Field      | Description                        | Type         | Null | Key | Default | Extra |    
-| ---------- | ---------------------------------- | ------------ | ---- | --- | ------- | ----- |    
-| gserver-id | The id of the gserver              | int unsigned | NO   | PRI | 0       |       |    
-| tag        | Tag that the server has subscribed | varchar(100) | NO   | PRI |         |       |    
+| Field      | Description                        | Type         | Null | Key | Default | Extra |
+| ---------- | ---------------------------------- | ------------ | ---- | --- | ------- | ----- |
+| gserver-id | The id of the gserver              | int unsigned | NO   | PRI | 0       |       |
+| tag        | Tag that the server has subscribed | varchar(100) | NO   | PRI |         |       |
 
 Return to [database documentation](help/database)
index 8be46ba6735aa2f49c001bb1edbf3d3deca5bb55..341f71eff5a68a108162df9ae5f8cd9a04c4d3bd 100644 (file)
@@ -1,31 +1,32 @@
 Table gserver
 ===========
+
 Global servers
 
-| Field            | Description                                        | Type             | Null | Key | Default             | Extra          |    
-| ---------------- | -------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |    
-| id               | sequential ID                                      | int unsigned     | NO   | PRI | NULL                | auto_increment |    
-| url              |                                                    | varchar(255)     | NO   |     |                     |                |    
-| nurl             |                                                    | varchar(255)     | NO   |     |                     |                |    
-| version          |                                                    | varchar(255)     | NO   |     |                     |                |    
-| site_name        |                                                    | varchar(255)     | NO   |     |                     |                |    
-| info             |                                                    | text             | YES  |     | NULL                |                |    
-| register_policy  |                                                    | tinyint          | NO   |     | 0                   |                |    
-| registered-users | Number of registered users                         | int unsigned     | NO   |     | 0                   |                |    
-| directory-type   | Type of directory service (Poco, Mastodon)         | tinyint          | YES  |     | 0                   |                |    
-| poco             |                                                    | varchar(255)     | NO   |     |                     |                |    
-| noscrape         |                                                    | varchar(255)     | NO   |     |                     |                |    
-| network          |                                                    | char(4)          | NO   |     |                     |                |    
-| protocol         | The protocol of the server                         | tinyint unsigned | YES  |     | NULL                |                |    
-| platform         |                                                    | varchar(255)     | NO   |     |                     |                |    
-| relay-subscribe  | Has the server subscribed to the relay system      | boolean          | NO   |     | 0                   |                |    
-| relay-scope      | The scope of messages that the server wants to get | varchar(10)      | NO   |     |                     |                |    
-| detection-method | Method that had been used to detect that server    | tinyint unsigned | YES  |     | NULL                |                |    
-| created          |                                                    | datetime         | NO   |     | 0001-01-01 00:00:00 |                |    
-| last_poco_query  |                                                    | datetime         | YES  |     | 0001-01-01 00:00:00 |                |    
-| last_contact     | Last successful connection request                 | datetime         | YES  |     | 0001-01-01 00:00:00 |                |    
-| last_failure     | Last failed connection request                     | datetime         | YES  |     | 0001-01-01 00:00:00 |                |    
-| failed           | Connection failed                                  | boolean          | YES  |     | NULL                |                |    
-| next_contact     | Next connection request                            | datetime         | YES  |     | 0001-01-01 00:00:00 |                |    
+| Field            | Description                                        | Type             | Null | Key | Default             | Extra          |
+| ---------------- | -------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
+| id               | sequential ID                                      | int unsigned     | NO   | PRI | NULL                | auto_increment |
+| url              |                                                    | varchar(255)     | NO   |     |                     |                |
+| nurl             |                                                    | varchar(255)     | NO   |     |                     |                |
+| version          |                                                    | varchar(255)     | NO   |     |                     |                |
+| site_name        |                                                    | varchar(255)     | NO   |     |                     |                |
+| info             |                                                    | text             | YES  |     | NULL                |                |
+| register_policy  |                                                    | tinyint          | NO   |     | 0                   |                |
+| registered-users | Number of registered users                         | int unsigned     | NO   |     | 0                   |                |
+| directory-type   | Type of directory service (Poco, Mastodon)         | tinyint          | YES  |     | 0                   |                |
+| poco             |                                                    | varchar(255)     | NO   |     |                     |                |
+| noscrape         |                                                    | varchar(255)     | NO   |     |                     |                |
+| network          |                                                    | char(4)          | NO   |     |                     |                |
+| protocol         | The protocol of the server                         | tinyint unsigned | YES  |     | NULL                |                |
+| platform         |                                                    | varchar(255)     | NO   |     |                     |                |
+| relay-subscribe  | Has the server subscribed to the relay system      | boolean          | NO   |     | 0                   |                |
+| relay-scope      | The scope of messages that the server wants to get | varchar(10)      | NO   |     |                     |                |
+| detection-method | Method that had been used to detect that server    | tinyint unsigned | YES  |     | NULL                |                |
+| created          |                                                    | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
+| last_poco_query  |                                                    | datetime         | YES  |     | 0001-01-01 00:00:00 |                |
+| last_contact     | Last successful connection request                 | datetime         | YES  |     | 0001-01-01 00:00:00 |                |
+| last_failure     | Last failed connection request                     | datetime         | YES  |     | 0001-01-01 00:00:00 |                |
+| failed           | Connection failed                                  | boolean          | YES  |     | NULL                |                |
+| next_contact     | Next connection request                            | datetime         | YES  |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index 75235b31cdb97f39cef3be0e186b5ca15800bdb4..c25f674cc9ae9c3b50f5b0c5b8de89e81eac8838 100644 (file)
@@ -1,13 +1,14 @@
 Table hook
 ===========
+
 addon hook registry
 
-| Field    | Description                                                                                                | Type              | Null | Key | Default | Extra          |    
-| -------- | ---------------------------------------------------------------------------------------------------------- | ----------------- | ---- | --- | ------- | -------------- |    
-| id       | sequential ID                                                                                              | int unsigned      | NO   | PRI | NULL    | auto_increment |    
-| hook     | name of hook                                                                                               | varbinary(100)    | NO   |     |         |                |    
-| file     | relative filename of hook handler                                                                          | varbinary(200)    | NO   |     |         |                |    
-| 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       |                |    
+| Field    | Description                                                                                                | Type              | Null | Key | Default | Extra          |
+| -------- | ---------------------------------------------------------------------------------------------------------- | ----------------- | ---- | --- | ------- | -------------- |
+| id       | sequential ID                                                                                              | int unsigned      | NO   | PRI | NULL    | auto_increment |
+| hook     | name of hook                                                                                               | varbinary(100)    | NO   |     |         |                |
+| file     | relative filename of hook handler                                                                          | varbinary(200)    | NO   |     |         |                |
+| 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       |                |
 
 Return to [database documentation](help/database)
index bb07a5b87a3ab97a5f50d81202ca9bd76019145a..97fda6fa6f24dd63bda0cb988bcabb4c1b380198 100644 (file)
@@ -1,10 +1,11 @@
 Table host
 ===========
+
 Hostname
 
-| Field | Description   | Type             | Null | Key | Default | Extra          |    
-| ----- | ------------- | ---------------- | ---- | --- | ------- | -------------- |    
-| id    | sequential ID | tinyint unsigned | NO   | PRI | NULL    | auto_increment |    
-| name  | The hostname  | varchar(128)     | NO   |     |         |                |    
+| Field | Description   | Type             | Null | Key | Default | Extra          |
+| ----- | ------------- | ---------------- | ---- | --- | ------- | -------------- |
+| id    | sequential ID | tinyint unsigned | NO   | PRI | NULL    | auto_increment |
+| name  | The hostname  | varchar(128)     | NO   |     |         |                |
 
 Return to [database documentation](help/database)
index 53fa009e2b2605e37b4b7a18c6c228c4dbf1d79d..fb6a40850679df5ca9b29630ba07b2bdca8541cb 100644 (file)
@@ -1,15 +1,16 @@
 Table inbox-status
 ===========
+
 Status of ActivityPub inboxes
 
-| Field    | Description                          | Type           | Null | Key | Default             | Extra |    
-| -------- | ------------------------------------ | -------------- | ---- | --- | ------------------- | ----- |    
-| url      | URL of the inbox                     | varbinary(255) | NO   | PRI | NULL                |       |    
-| created  | Creation date of this entry          | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
-| success  | Date of the last successful delivery | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
-| failure  | Date of the last failed delivery     | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
-| previous | Previous delivery date               | datetime       | NO   |     | 0001-01-01 00:00:00 |       |    
-| archive  | Is the inbox archived?               | boolean        | NO   |     | 0                   |       |    
-| shared   | Is it a shared inbox?                | boolean        | NO   |     | 0                   |       |    
+| Field    | Description                          | Type           | Null | Key | Default             | Extra |
+| -------- | ------------------------------------ | -------------- | ---- | --- | ------------------- | ----- |
+| url      | URL of the inbox                     | varbinary(255) | NO   | PRI | NULL                |       |
+| created  | Creation date of this entry          | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
+| success  | Date of the last successful delivery | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
+| failure  | Date of the last failed delivery     | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
+| previous | Previous delivery date               | datetime       | NO   |     | 0001-01-01 00:00:00 |       |
+| archive  | Is the inbox archived?               | boolean        | NO   |     | 0                   |       |
+| shared   | Is it a shared inbox?                | boolean        | NO   |     | 0                   |       |
 
 Return to [database documentation](help/database)
index df1deac2bba92dd16a5110d83dce565fcbc3553d..3e3731b55a2af78a140a74ca7e3742fad3f6093b 100644 (file)
@@ -2,18 +2,19 @@ Table intro
 ===========
 
 
-| Field      | Description   | Type               | Null | Key | Default             | Extra          |    
-| ---------- | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id         | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid        | User id       | mediumint unsigned | NO   |     | 0                   |                |    
-| fid        |               | int unsigned       | YES  |     | NULL                |                |    
-| contact-id |               | int unsigned       | NO   |     | 0                   |                |    
-| knowyou    |               | boolean            | NO   |     | 0                   |                |    
-| duplex     |               | boolean            | NO   |     | 0                   |                |    
-| note       |               | text               | YES  |     | NULL                |                |    
-| hash       |               | varchar(255)       | NO   |     |                     |                |    
-| datetime   |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| blocked    |               | boolean            | NO   |     | 1                   |                |    
-| ignore     |               | boolean            | NO   |     | 0                   |                |    
+
+| Field      | Description   | Type               | Null | Key | Default             | Extra          |
+| ---------- | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id         | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid        | User id       | mediumint unsigned | NO   |     | 0                   |                |
+| fid        |               | int unsigned       | YES  |     | NULL                |                |
+| contact-id |               | int unsigned       | NO   |     | 0                   |                |
+| knowyou    |               | boolean            | NO   |     | 0                   |                |
+| duplex     |               | boolean            | NO   |     | 0                   |                |
+| note       |               | text               | YES  |     | NULL                |                |
+| hash       |               | varchar(255)       | NO   |     |                     |                |
+| datetime   |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| blocked    |               | boolean            | NO   |     | 1                   |                |
+| ignore     |               | boolean            | NO   |     | 0                   |                |
 
 Return to [database documentation](help/database)
index 8e4be669af325758379747854f41ed0ddf8efa48..4b3dda5cedec747980ad362a0d94dfc874fc6952 100644 (file)
@@ -1,11 +1,12 @@
 Table item-uri
 ===========
+
 URI and GUID for items
 
-| Field | Description                     | Type           | Null | Key | Default | Extra          |    
-| ----- | ------------------------------- | -------------- | ---- | --- | ------- | -------------- |    
-| id    |                                 | int unsigned   | NO   | PRI | NULL    | auto_increment |    
-| uri   | URI of an item                  | varbinary(255) | NO   |     | NULL    |                |    
-| guid  | A unique identifier for an item | varbinary(255) | YES  |     | NULL    |                |    
+| Field | Description                     | Type           | Null | Key | Default | Extra          |
+| ----- | ------------------------------- | -------------- | ---- | --- | ------- | -------------- |
+| id    |                                 | int unsigned   | NO   | PRI | NULL    | auto_increment |
+| uri   | URI of an item                  | varbinary(255) | NO   |     | NULL    |                |
+| guid  | A unique identifier for an item | varbinary(255) | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 0da4d8845cf96140844709fa5ca0cf9206a3af37..337999017462774d8f58d3009edce06ce30dca23 100644 (file)
@@ -2,12 +2,13 @@ Table locks
 ===========
 
 
-| Field   | Description                  | Type         | Null | Key | Default             | Extra          |    
-| ------- | ---------------------------- | ------------ | ---- | --- | ------------------- | -------------- |    
-| id      | sequential ID                | int unsigned | NO   | PRI | NULL                | auto_increment |    
-| name    |                              | varchar(128) | NO   |     |                     |                |    
-| locked  |                              | boolean      | NO   |     | 0                   |                |    
-| pid     | Process ID                   | int unsigned | NO   |     | 0                   |                |    
-| expires | datetime of cache expiration | datetime     | NO   |     | 0001-01-01 00:00:00 |                |    
+
+| Field   | Description                  | Type         | Null | Key | Default             | Extra          |
+| ------- | ---------------------------- | ------------ | ---- | --- | ------------------- | -------------- |
+| id      | sequential ID                | int unsigned | NO   | PRI | NULL                | auto_increment |
+| name    |                              | varchar(128) | NO   |     |                     |                |
+| locked  |                              | boolean      | NO   |     | 0                   |                |
+| pid     | Process ID                   | int unsigned | NO   |     | 0                   |                |
+| expires | datetime of cache expiration | datetime     | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index 44f435d006b1e07217fc071dd0b7041af2c7d8ae..dbdacb6d316821bf75b256b0efdb794205cd2dcc 100644 (file)
@@ -1,30 +1,31 @@
 Table mail
 ===========
+
 private messages
 
-| Field         | Description                                                    | Type               | Null | Key | Default             | Extra          |    
-| ------------- | -------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id            | sequential ID                                                  | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid           | Owner User id                                                  | mediumint unsigned | NO   |     | 0                   |                |    
-| guid          | A unique identifier for this private message                   | varchar(255)       | NO   |     |                     |                |    
-| from-name     | name of the sender                                             | varchar(255)       | NO   |     |                     |                |    
-| from-photo    | contact photo link of the sender                               | varchar(255)       | NO   |     |                     |                |    
-| from-url      | profile linke of the sender                                    | varchar(255)       | NO   |     |                     |                |    
-| contact-id    | contact.id                                                     | varchar(255)       | YES  |     | NULL                |                |    
-| author-id     | Link to the contact table with uid=0 of the author of the mail | int unsigned       | YES  |     | NULL                |                |    
-| convid        | conv.id                                                        | int unsigned       | YES  |     | NULL                |                |    
-| title         |                                                                | varchar(255)       | NO   |     |                     |                |    
-| body          |                                                                | mediumtext         | YES  |     | NULL                |                |    
-| seen          | if message visited it is 1                                     | boolean            | NO   |     | 0                   |                |    
-| reply         |                                                                | boolean            | NO   |     | 0                   |                |    
-| replied       |                                                                | boolean            | NO   |     | 0                   |                |    
-| unknown       | if sender not in the contact table this is 1                   | boolean            | NO   |     | 0                   |                |    
-| uri           |                                                                | varchar(255)       | NO   |     |                     |                |    
-| uri-id        | Item-uri id of the related mail                                | int unsigned       | YES  |     | NULL                |                |    
-| parent-uri    |                                                                | varchar(255)       | NO   |     |                     |                |    
-| parent-uri-id | Item-uri id of the parent of the related mail                  | int unsigned       | YES  |     | NULL                |                |    
-| thr-parent    |                                                                | varchar(255)       | YES  |     | NULL                |                |    
-| thr-parent-id | Id of the item-uri table that contains the thread parent uri   | int unsigned       | YES  |     | NULL                |                |    
-| created       | creation time of the private message                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
+| Field         | Description                                                    | Type               | Null | Key | Default             | Extra          |
+| ------------- | -------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id            | sequential ID                                                  | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid           | Owner User id                                                  | mediumint unsigned | NO   |     | 0                   |                |
+| guid          | A unique identifier for this private message                   | varchar(255)       | NO   |     |                     |                |
+| from-name     | name of the sender                                             | varchar(255)       | NO   |     |                     |                |
+| from-photo    | contact photo link of the sender                               | varchar(255)       | NO   |     |                     |                |
+| from-url      | profile linke of the sender                                    | varchar(255)       | NO   |     |                     |                |
+| contact-id    | contact.id                                                     | varchar(255)       | YES  |     | NULL                |                |
+| author-id     | Link to the contact table with uid=0 of the author of the mail | int unsigned       | YES  |     | NULL                |                |
+| convid        | conv.id                                                        | int unsigned       | YES  |     | NULL                |                |
+| title         |                                                                | varchar(255)       | NO   |     |                     |                |
+| body          |                                                                | mediumtext         | YES  |     | NULL                |                |
+| seen          | if message visited it is 1                                     | boolean            | NO   |     | 0                   |                |
+| reply         |                                                                | boolean            | NO   |     | 0                   |                |
+| replied       |                                                                | boolean            | NO   |     | 0                   |                |
+| unknown       | if sender not in the contact table this is 1                   | boolean            | NO   |     | 0                   |                |
+| uri           |                                                                | varchar(255)       | NO   |     |                     |                |
+| uri-id        | Item-uri id of the related mail                                | int unsigned       | YES  |     | NULL                |                |
+| parent-uri    |                                                                | varchar(255)       | NO   |     |                     |                |
+| parent-uri-id | Item-uri id of the parent of the related mail                  | int unsigned       | YES  |     | NULL                |                |
+| thr-parent    |                                                                | varchar(255)       | YES  |     | NULL                |                |
+| thr-parent-id | Id of the item-uri table that contains the thread parent uri   | int unsigned       | YES  |     | NULL                |                |
+| created       | creation time of the private message                           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index 0fb9a43f6eeaa971eb19651e6b0dbb8a274c6cca..8a1f3807884844af25a6da060116cc0d8518d33a 100644 (file)
@@ -1,21 +1,22 @@
 Table mailacct
 ===========
+
 Mail account data for fetching mails
 
-| Field        | Description   | Type               | Null | Key | Default             | Extra          |    
-| ------------ | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id           | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid          | User id       | mediumint unsigned | NO   |     | 0                   |                |    
-| server       |               | varchar(255)       | NO   |     |                     |                |    
-| port         |               | smallint unsigned  | NO   |     | 0                   |                |    
-| ssltype      |               | varchar(16)        | NO   |     |                     |                |    
-| mailbox      |               | varchar(255)       | NO   |     |                     |                |    
-| user         |               | varchar(255)       | NO   |     |                     |                |    
-| pass         |               | text               | YES  |     | NULL                |                |    
-| reply_to     |               | varchar(255)       | NO   |     |                     |                |    
-| action       |               | tinyint unsigned   | NO   |     | 0                   |                |    
-| movetofolder |               | varchar(255)       | NO   |     |                     |                |    
-| pubmail      |               | boolean            | NO   |     | 0                   |                |    
-| last_check   |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
+| Field        | Description   | Type               | Null | Key | Default             | Extra          |
+| ------------ | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id           | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid          | User id       | mediumint unsigned | NO   |     | 0                   |                |
+| server       |               | varchar(255)       | NO   |     |                     |                |
+| port         |               | smallint unsigned  | NO   |     | 0                   |                |
+| ssltype      |               | varchar(16)        | NO   |     |                     |                |
+| mailbox      |               | varchar(255)       | NO   |     |                     |                |
+| user         |               | varchar(255)       | NO   |     |                     |                |
+| pass         |               | text               | YES  |     | NULL                |                |
+| reply_to     |               | varchar(255)       | NO   |     |                     |                |
+| action       |               | tinyint unsigned   | NO   |     | 0                   |                |
+| movetofolder |               | varchar(255)       | NO   |     |                     |                |
+| pubmail      |               | boolean            | NO   |     | 0                   |                |
+| last_check   |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index 96f770370758e9558eeeb235f6cc1210c451dc5e..c2dadfca4d94ac7df1549e23b5efbdb135f0dafa 100644 (file)
@@ -1,11 +1,12 @@
 Table manage
 ===========
+
 table of accounts that can manage each other
 
-| Field | Description   | Type               | Null | Key | Default | Extra          |    
-| ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- |    
-| id    | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uid   | User id       | mediumint unsigned | NO   |     | 0       |                |    
-| mid   | User id       | mediumint unsigned | NO   |     | 0       |                |    
+| Field | Description   | Type               | Null | Key | Default | Extra          |
+| ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- |
+| id    | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uid   | User id       | mediumint unsigned | NO   |     | 0       |                |
+| mid   | User id       | mediumint unsigned | NO   |     | 0       |                |
 
 Return to [database documentation](help/database)
index 866d775274cb9f8821dfb35b7da01e110ee0a608..0941ff1d36c5bfe33f6d69efe8f350e0f67683de 100644 (file)
@@ -1,17 +1,18 @@
 Table notification
 ===========
+
 notifications
 
-| Field         | Description                                                                    | Type               | Null | Key | Default | Extra          |    
-| ------------- | ------------------------------------------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |    
-| id            | sequential ID                                                                  | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uid           | Owner User id                                                                  | mediumint unsigned | YES  |     | NULL    |                |    
-| vid           | Id of the verb table entry that contains the activity verbs                    | smallint unsigned  | YES  |     | NULL    |                |    
-| type          |                                                                                | tinyint unsigned   | YES  |     | NULL    |                |    
-| actor-id      | Link to the contact table with uid=0 of the actor that caused the notification | int unsigned       | YES  |     | NULL    |                |    
-| target-uri-id | Item-uri id of the related post                                                | int unsigned       | YES  |     | NULL    |                |    
-| parent-uri-id | Item-uri id of the parent of the related post                                  | int unsigned       | YES  |     | NULL    |                |    
-| created       |                                                                                | datetime           | YES  |     | NULL    |                |    
-| seen          |                                                                                | boolean            | YES  |     | 0       |                |    
+| Field         | Description                                                                    | Type               | Null | Key | Default | Extra          |
+| ------------- | ------------------------------------------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |
+| id            | sequential ID                                                                  | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uid           | Owner User id                                                                  | mediumint unsigned | YES  |     | NULL    |                |
+| vid           | Id of the verb table entry that contains the activity verbs                    | smallint unsigned  | YES  |     | NULL    |                |
+| type          |                                                                                | tinyint unsigned   | YES  |     | NULL    |                |
+| actor-id      | Link to the contact table with uid=0 of the actor that caused the notification | int unsigned       | YES  |     | NULL    |                |
+| target-uri-id | Item-uri id of the related post                                                | int unsigned       | YES  |     | NULL    |                |
+| parent-uri-id | Item-uri id of the parent of the related post                                  | int unsigned       | YES  |     | NULL    |                |
+| created       |                                                                                | datetime           | YES  |     | NULL    |                |
+| seen          |                                                                                | boolean            | YES  |     | 0       |                |
 
 Return to [database documentation](help/database)
index 3461e502d5fef888ca52c3489b35db94bfd1e3a9..0dd493975b72a013c01e1691dfd5c51840b7e6b7 100644 (file)
@@ -2,13 +2,14 @@ Table notify-threads
 ===========
 
 
-| Field                | Description                                   | Type               | Null | Key | Default | Extra          |    
-| -------------------- | --------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |    
-| id                   | sequential ID                                 | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| notify-id            |                                               | int unsigned       | NO   |     | 0       |                |    
-| master-parent-item   | Deprecated                                    | int unsigned       | YES  |     | NULL    |                |    
-| master-parent-uri-id | Item-uri id of the parent of the related post | int unsigned       | YES  |     | NULL    |                |    
-| parent-item          |                                               | int unsigned       | NO   |     | 0       |                |    
-| receiver-uid         | User id                                       | mediumint unsigned | NO   |     | 0       |                |    
+
+| Field                | Description                                   | Type               | Null | Key | Default | Extra          |
+| -------------------- | --------------------------------------------- | ------------------ | ---- | --- | ------- | -------------- |
+| id                   | sequential ID                                 | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| notify-id            |                                               | int unsigned       | NO   |     | 0       |                |
+| master-parent-item   | Deprecated                                    | int unsigned       | YES  |     | NULL    |                |
+| master-parent-uri-id | Item-uri id of the parent of the related post | int unsigned       | YES  |     | NULL    |                |
+| parent-item          |                                               | int unsigned       | NO   |     | 0       |                |
+| receiver-uid         | User id                                       | mediumint unsigned | NO   |     | 0       |                |
 
 Return to [database documentation](help/database)
index fef88a971a455cd6776cb793d0f86602c548d1f7..a9eac5a3c8ad37f4e88d292b047c81abd10e9d52 100644 (file)
@@ -1,26 +1,27 @@
 Table notify
 ===========
+
 notifications
 
-| Field         | Description                                   | Type               | Null | Key | Default             | Extra          |    
-| ------------- | --------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id            | sequential ID                                 | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| type          |                                               | smallint unsigned  | NO   |     | 0                   |                |    
-| name          |                                               | varchar(255)       | NO   |     |                     |                |    
-| url           |                                               | varchar(255)       | NO   |     |                     |                |    
-| photo         |                                               | varchar(255)       | NO   |     |                     |                |    
-| date          |                                               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| msg           |                                               | mediumtext         | YES  |     | NULL                |                |    
-| uid           | Owner User id                                 | mediumint unsigned | NO   |     | 0                   |                |    
-| link          |                                               | varchar(255)       | NO   |     |                     |                |    
-| iid           |                                               | int unsigned       | YES  |     | NULL                |                |    
-| parent        |                                               | int unsigned       | YES  |     | NULL                |                |    
-| uri-id        | Item-uri id of the related post               | int unsigned       | YES  |     | NULL                |                |    
-| parent-uri-id | Item-uri id of the parent of the related post | int unsigned       | YES  |     | NULL                |                |    
-| seen          |                                               | boolean            | NO   |     | 0                   |                |    
-| verb          |                                               | varchar(100)       | NO   |     |                     |                |    
-| otype         |                                               | varchar(10)        | NO   |     |                     |                |    
-| name_cache    | Cached bbcode parsing of name                 | tinytext           | YES  |     | NULL                |                |    
-| msg_cache     | Cached bbcode parsing of msg                  | mediumtext         | YES  |     | NULL                |                |    
+| Field         | Description                                   | Type               | Null | Key | Default             | Extra          |
+| ------------- | --------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id            | sequential ID                                 | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| type          |                                               | smallint unsigned  | NO   |     | 0                   |                |
+| name          |                                               | varchar(255)       | NO   |     |                     |                |
+| url           |                                               | varchar(255)       | NO   |     |                     |                |
+| photo         |                                               | varchar(255)       | NO   |     |                     |                |
+| date          |                                               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| msg           |                                               | mediumtext         | YES  |     | NULL                |                |
+| uid           | Owner User id                                 | mediumint unsigned | NO   |     | 0                   |                |
+| link          |                                               | varchar(255)       | NO   |     |                     |                |
+| iid           |                                               | int unsigned       | YES  |     | NULL                |                |
+| parent        |                                               | int unsigned       | YES  |     | NULL                |                |
+| uri-id        | Item-uri id of the related post               | int unsigned       | YES  |     | NULL                |                |
+| parent-uri-id | Item-uri id of the parent of the related post | int unsigned       | YES  |     | NULL                |                |
+| seen          |                                               | boolean            | NO   |     | 0                   |                |
+| verb          |                                               | varchar(100)       | NO   |     |                     |                |
+| otype         |                                               | varchar(10)        | NO   |     |                     |                |
+| name_cache    | Cached bbcode parsing of name                 | tinytext           | YES  |     | NULL                |                |
+| msg_cache     | Cached bbcode parsing of msg                  | mediumtext         | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index bff9ebd9c5670b8e20fbca485e17329007e26d0e..3edee64c688ea4fdf7a8c8d23d7ac83c7c103bef 100644 (file)
@@ -1,12 +1,13 @@
 Table oembed
 ===========
+
 cache for OEmbed queries
 
-| Field    | Description                    | Type               | Null | Key | Default             | Extra |    
-| -------- | ------------------------------ | ------------------ | ---- | --- | ------------------- | ----- |    
-| url      | page url                       | varbinary(255)     | NO   | PRI | NULL                |       |    
-| maxwidth | Maximum width passed to Oembed | mediumint unsigned | NO   | PRI | NULL                |       |    
-| content  | OEmbed data of the page        | mediumtext         | YES  |     | NULL                |       |    
-| created  | datetime of creation           | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
+| Field    | Description                    | Type               | Null | Key | Default             | Extra |
+| -------- | ------------------------------ | ------------------ | ---- | --- | ------------------- | ----- |
+| url      | page url                       | varbinary(255)     | NO   | PRI | NULL                |       |
+| maxwidth | Maximum width passed to Oembed | mediumint unsigned | NO   | PRI | NULL                |       |
+| content  | OEmbed data of the page        | mediumtext         | YES  |     | NULL                |       |
+| created  | datetime of creation           | datetime           | NO   |     | 0001-01-01 00:00:00 |       |
 
 Return to [database documentation](help/database)
index 0ae0a85ba04b05b7554af905b1067c3a7a3879dc..1c3060f0f4cb5ceb9fc8f14171f0442104e2c192 100644 (file)
@@ -1,14 +1,15 @@
 Table openwebauth-token
 ===========
+
 Store OpenWebAuth token to verify contacts
 
-| Field   | Description                | Type               | Null | Key | Default             | Extra          |    
-| ------- | -------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id      | sequential ID              | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid     | User id - currently unused | mediumint unsigned | NO   |     | 0                   |                |    
-| type    | Verify type                | varchar(32)        | NO   |     |                     |                |    
-| token   | A generated token          | varchar(255)       | NO   |     |                     |                |    
-| meta    |                            | varchar(255)       | NO   |     |                     |                |    
-| created | datetime of creation       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
+| Field   | Description                | Type               | Null | Key | Default             | Extra          |
+| ------- | -------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id      | sequential ID              | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid     | User id - currently unused | mediumint unsigned | NO   |     | 0                   |                |
+| type    | Verify type                | varchar(32)        | NO   |     |                     |                |
+| token   | A generated token          | varchar(255)       | NO   |     |                     |                |
+| meta    |                            | varchar(255)       | NO   |     |                     |                |
+| created | datetime of creation       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index a264c86e3e0bf3266e994371b090fde12546c508..29a3ff85213d136ae65bee39f15a483ded51b0b4 100644 (file)
@@ -1,15 +1,16 @@
 Table parsed_url
 ===========
+
 cache for &#039;parse_url&#039; queries
 
-| Field    | Description                       | Type       | Null | Key | Default             | Extra |    
-| -------- | --------------------------------- | ---------- | ---- | --- | ------------------- | ----- |    
-| url_hash | page url hash                     | binary(64) | NO   | PRI | NULL                |       |    
-| guessing | is the &#039;guessing&#039; mode active?    | boolean    | NO   | PRI | 0                   |       |    
-| oembed   | is the data the result of oembed? | boolean    | NO   | PRI | 0                   |       |    
-| url      | page url                          | text       | NO   |     | NULL                |       |    
-| content  | page data                         | mediumtext | YES  |     | NULL                |       |    
-| created  | datetime of creation              | datetime   | NO   |     | 0001-01-01 00:00:00 |       |    
-| expires  | datetime of expiration            | datetime   | NO   |     | 0001-01-01 00:00:00 |       |    
+| Field    | Description                       | Type       | Null | Key | Default             | Extra |
+| -------- | --------------------------------- | ---------- | ---- | --- | ------------------- | ----- |
+| url_hash | page url hash                     | binary(64) | NO   | PRI | NULL                |       |
+| guessing | is the &#039;guessing&#039; mode active?    | boolean    | NO   | PRI | 0                   |       |
+| oembed   | is the data the result of oembed? | boolean    | NO   | PRI | 0                   |       |
+| url      | page url                          | text       | NO   |     | NULL                |       |
+| content  | page data                         | mediumtext | YES  |     | NULL                |       |
+| created  | datetime of creation              | datetime   | NO   |     | 0001-01-01 00:00:00 |       |
+| expires  | datetime of expiration            | datetime   | NO   |     | 0001-01-01 00:00:00 |       |
 
 Return to [database documentation](help/database)
index 819dfbfbf64b8845641457b3f23cd1614d992ab8..7449c511d36189d58b11303dc2ad0f4143938bef 100644 (file)
@@ -1,13 +1,14 @@
 Table pconfig
 ===========
+
 personal (per user) configuration storage
 
-| Field | Description | Type               | Null | Key | Default | Extra          |    
-| ----- | ----------- | ------------------ | ---- | --- | ------- | -------------- |    
-| id    | Primary key | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uid   | User id     | mediumint unsigned | NO   |     | 0       |                |    
-| cat   | Category    | varchar(50)        | NO   |     |         |                |    
-| k     | Key         | varchar(100)       | NO   |     |         |                |    
-| v     | Value       | mediumtext         | YES  |     | NULL    |                |    
+| Field | Description | Type               | Null | Key | Default | Extra          |
+| ----- | ----------- | ------------------ | ---- | --- | ------- | -------------- |
+| id    | Primary key | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uid   | User id     | mediumint unsigned | NO   |     | 0       |                |
+| cat   | Category    | varchar(50)        | NO   |     |         |                |
+| k     | Key         | varchar(100)       | NO   |     |         |                |
+| v     | Value       | mediumtext         | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 39b3d93b3c143f572eed4cf5c9ab284a87c913d7..855ed1ea12684ccc6c49583d6129ac3e4f1a5a7f 100644 (file)
@@ -2,13 +2,14 @@ Table permissionset
 ===========
 
 
-| Field     | Description                                            | Type               | Null | Key | Default | Extra          |    
-| --------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |    
-| id        | sequential ID                                          | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uid       | Owner id of this permission set                        | mediumint unsigned | NO   |     | 0       |                |    
-| allow_cid | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt;&#039; | mediumtext         | YES  |     | NULL    |                |    
-| allow_gid | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL    |                |    
-| deny_cid  | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL    |                |    
-| deny_gid  | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL    |                |    
+
+| Field     | Description                                            | Type               | Null | Key | Default | Extra          |
+| --------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------- | -------------- |
+| id        | sequential ID                                          | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uid       | Owner id of this permission set                        | mediumint unsigned | NO   |     | 0       |                |
+| allow_cid | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt;&#039; | mediumtext         | YES  |     | NULL    |                |
+| allow_gid | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL    |                |
+| deny_cid  | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL    |                |
+| deny_gid  | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 1574d618187b0ac086c312511946bcca3c359190..168797a1fb09c88df963670538a4a376495e0599 100644 (file)
@@ -1,35 +1,36 @@
 Table photo
 ===========
+
 photo storage
 
-| Field         | Description                                            | Type               | Null | Key | Default             | Extra          |    
-| ------------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id            | sequential ID                                          | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid           | Owner User id                                          | mediumint unsigned | NO   |     | 0                   |                |    
-| contact-id    | contact.id                                             | int unsigned       | NO   |     | 0                   |                |    
-| guid          | A unique identifier for this photo                     | char(16)           | NO   |     |                     |                |    
-| resource-id   |                                                        | char(32)           | NO   |     |                     |                |    
-| hash          | hash value of the photo                                | char(32)           | YES  |     | NULL                |                |    
-| created       | creation date                                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| edited        | last edited date                                       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| title         |                                                        | varchar(255)       | NO   |     |                     |                |    
-| desc          |                                                        | text               | YES  |     | NULL                |                |    
-| album         | The name of the album to which the photo belongs       | varchar(255)       | NO   |     |                     |                |    
-| filename      |                                                        | varchar(255)       | NO   |     |                     |                |    
-| type          |                                                        | varchar(30)        | NO   |     | image/jpeg          |                |    
-| height        |                                                        | smallint unsigned  | NO   |     | 0                   |                |    
-| width         |                                                        | smallint unsigned  | NO   |     | 0                   |                |    
-| datasize      |                                                        | int unsigned       | NO   |     | 0                   |                |    
-| data          |                                                        | mediumblob         | NO   |     | NULL                |                |    
-| scale         |                                                        | tinyint unsigned   | NO   |     | 0                   |                |    
-| profile       |                                                        | boolean            | NO   |     | 0                   |                |    
-| allow_cid     | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt;&#039; | mediumtext         | YES  |     | NULL                |                |    
-| allow_gid     | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL                |                |    
-| deny_cid      | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL                |                |    
-| deny_gid      | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL                |                |    
-| accessible    | Make photo publicly accessible, ignoring permissions   | boolean            | NO   |     | 0                   |                |    
-| backend-class | Storage backend class                                  | tinytext           | YES  |     | NULL                |                |    
-| backend-ref   | Storage backend data reference                         | text               | YES  |     | NULL                |                |    
-| updated       |                                                        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
+| Field         | Description                                            | Type               | Null | Key | Default             | Extra          |
+| ------------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------------------- | -------------- |
+| id            | sequential ID                                          | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid           | Owner User id                                          | mediumint unsigned | NO   |     | 0                   |                |
+| contact-id    | contact.id                                             | int unsigned       | NO   |     | 0                   |                |
+| guid          | A unique identifier for this photo                     | char(16)           | NO   |     |                     |                |
+| resource-id   |                                                        | char(32)           | NO   |     |                     |                |
+| hash          | hash value of the photo                                | char(32)           | YES  |     | NULL                |                |
+| created       | creation date                                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| edited        | last edited date                                       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| title         |                                                        | varchar(255)       | NO   |     |                     |                |
+| desc          |                                                        | text               | YES  |     | NULL                |                |
+| album         | The name of the album to which the photo belongs       | varchar(255)       | NO   |     |                     |                |
+| filename      |                                                        | varchar(255)       | NO   |     |                     |                |
+| type          |                                                        | varchar(30)        | NO   |     | image/jpeg          |                |
+| height        |                                                        | smallint unsigned  | NO   |     | 0                   |                |
+| width         |                                                        | smallint unsigned  | NO   |     | 0                   |                |
+| datasize      |                                                        | int unsigned       | NO   |     | 0                   |                |
+| data          |                                                        | mediumblob         | NO   |     | NULL                |                |
+| scale         |                                                        | tinyint unsigned   | NO   |     | 0                   |                |
+| profile       |                                                        | boolean            | NO   |     | 0                   |                |
+| allow_cid     | Access Control - list of allowed contact.id &#039;&lt;19&gt;&lt;78&gt;&#039; | mediumtext         | YES  |     | NULL                |                |
+| allow_gid     | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL                |                |
+| deny_cid      | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL                |                |
+| deny_gid      | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL                |                |
+| accessible    | Make photo publicly accessible, ignoring permissions   | boolean            | NO   |     | 0                   |                |
+| backend-class | Storage backend class                                  | tinytext           | YES  |     | NULL                |                |
+| backend-ref   | Storage backend data reference                         | text               | YES  |     | NULL                |                |
+| updated       |                                                        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index c5bf26e8fc00f468bdbcaa28b08e164bd9316c52..14663cf5bbfe9048987909d12853202a26675c84 100644 (file)
@@ -1,12 +1,13 @@
 Table post-category
 ===========
+
 post relation to categories
 
-| Field  | Description                                               | Type               | Null | Key | Default | Extra |    
-| ------ | --------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |    
-| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned       | NO   | PRI | NULL    |       |    
-| uid    | User id                                                   | mediumint unsigned | NO   | PRI | 0       |       |    
-| type   |                                                           | tinyint unsigned   | NO   | PRI | 0       |       |    
-| tid    |                                                           | int unsigned       | NO   | PRI | 0       |       |    
+| Field  | Description                                               | Type               | Null | Key | Default | Extra |
+| ------ | --------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
+| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned       | NO   | PRI | NULL    |       |
+| uid    | User id                                                   | mediumint unsigned | NO   | PRI | 0       |       |
+| type   |                                                           | tinyint unsigned   | NO   | PRI | 0       |       |
+| tid    |                                                           | int unsigned       | NO   | PRI | 0       |       |
 
 Return to [database documentation](help/database)
index cee72373bab6849a220de22455ad61907c4320d5..4596a04a5601c3468a410dcd83c403432422cd94 100644 (file)
@@ -1,25 +1,26 @@
 Table post-content
 ===========
+
 Content for all posts
 
-| Field           | Description                                                                                                               | Type         | Null | Key | Default | Extra |    
-| --------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |    
-| uri-id          | Id of the item-uri table entry that contains the item uri                                                                 | int unsigned | NO   | PRI | NULL    |       |    
-| title           | item title                                                                                                                | varchar(255) | NO   |     |         |       |    
-| content-warning |                                                                                                                           | varchar(255) | NO   |     |         |       |    
-| body            | item body content                                                                                                         | mediumtext   | YES  |     | NULL    |       |    
-| raw-body        | Body without embedded media links                                                                                         | mediumtext   | YES  |     | NULL    |       |    
-| location        | text location where this item originated                                                                                  | varchar(255) | NO   |     |         |       |    
-| coord           | longitude/latitude pair representing location where this item originated                                                  | varchar(255) | NO   |     |         |       |    
-| language        | Language information about this post                                                                                      | text         | YES  |     | NULL    |       |    
-| app             | application which generated this item                                                                                     | varchar(255) | NO   |     |         |       |    
-| rendered-hash   |                                                                                                                           | varchar(32)  | NO   |     |         |       |    
-| rendered-html   | item.body converted to html                                                                                               | mediumtext   | YES  |     | NULL    |       |    
-| object-type     | ActivityStreams object type                                                                                               | varchar(100) | NO   |     |         |       |    
-| object          | JSON encoded object structure unless it is an implied object (normal post)                                                | text         | YES  |     | NULL    |       |    
-| target-type     | ActivityStreams target type if applicable (URI)                                                                           | varchar(100) | NO   |     |         |       |    
-| target          | JSON encoded target structure if used                                                                                     | text         | YES  |     | NULL    |       |    
-| resource-id     | Used to link other tables to items, it identifies the linked resource (e.g. photo) and if set must also set resource_type | varchar(32)  | NO   |     |         |       |    
-| plink           | permalink or URL to a displayable copy of the message at its source                                                       | varchar(255) | NO   |     |         |       |    
+| Field           | Description                                                                                                               | Type         | Null | Key | Default | Extra |
+| --------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |
+| uri-id          | Id of the item-uri table entry that contains the item uri                                                                 | int unsigned | NO   | PRI | NULL    |       |
+| title           | item title                                                                                                                | varchar(255) | NO   |     |         |       |
+| content-warning |                                                                                                                           | varchar(255) | NO   |     |         |       |
+| body            | item body content                                                                                                         | mediumtext   | YES  |     | NULL    |       |
+| raw-body        | Body without embedded media links                                                                                         | mediumtext   | YES  |     | NULL    |       |
+| location        | text location where this item originated                                                                                  | varchar(255) | NO   |     |         |       |
+| coord           | longitude/latitude pair representing location where this item originated                                                  | varchar(255) | NO   |     |         |       |
+| language        | Language information about this post                                                                                      | text         | YES  |     | NULL    |       |
+| app             | application which generated this item                                                                                     | varchar(255) | NO   |     |         |       |
+| rendered-hash   |                                                                                                                           | varchar(32)  | NO   |     |         |       |
+| rendered-html   | item.body converted to html                                                                                               | mediumtext   | YES  |     | NULL    |       |
+| object-type     | ActivityStreams object type                                                                                               | varchar(100) | NO   |     |         |       |
+| object          | JSON encoded object structure unless it is an implied object (normal post)                                                | text         | YES  |     | NULL    |       |
+| target-type     | ActivityStreams target type if applicable (URI)                                                                           | varchar(100) | NO   |     |         |       |
+| target          | JSON encoded target structure if used                                                                                     | text         | YES  |     | NULL    |       |
+| resource-id     | Used to link other tables to items, it identifies the linked resource (e.g. photo) and if set must also set resource_type | varchar(32)  | NO   |     |         |       |
+| plink           | permalink or URL to a displayable copy of the message at its source                                                       | varchar(255) | NO   |     |         |       |
 
 Return to [database documentation](help/database)
index 95e9dc190401908fe88355f3305228fb23b18c8e..1ed912d8bc7b7e43451d097d4a6a5879bfc019f1 100644 (file)
@@ -1,19 +1,20 @@
 Table post-delivery-data
 ===========
+
 Delivery data for items
 
-| Field        | Description                                                                                                                                                | Type         | Null | Key | Default | Extra |    
-| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |    
-| uri-id       | Id of the item-uri table entry that contains the item uri                                                                                                  | int unsigned | NO   | PRI | NULL    |       |    
-| postopts     | External post connectors add their network name to this comma-separated string to identify that they should be delivered to these networks during delivery | text         | YES  |     | NULL    |       |    
-| inform       | Additional receivers of the linked item                                                                                                                    | mediumtext   | YES  |     | NULL    |       |    
-| queue_count  | Initial number of delivery recipients, used as item.delivery_queue_count                                                                                   | mediumint    | NO   |     | 0       |       |    
-| queue_done   | Number of successful deliveries, used as item.delivery_queue_done                                                                                          | mediumint    | NO   |     | 0       |       |    
-| queue_failed | Number of unsuccessful deliveries, used as item.delivery_queue_failed                                                                                      | mediumint    | NO   |     | 0       |       |    
-| activitypub  | Number of successful deliveries via ActivityPub                                                                                                            | mediumint    | NO   |     | 0       |       |    
-| dfrn         | Number of successful deliveries via DFRN                                                                                                                   | mediumint    | NO   |     | 0       |       |    
-| legacy_dfrn  | Number of successful deliveries via legacy DFRN                                                                                                            | mediumint    | NO   |     | 0       |       |    
-| diaspora     | Number of successful deliveries via Diaspora                                                                                                               | mediumint    | NO   |     | 0       |       |    
-| ostatus      | Number of successful deliveries via OStatus                                                                                                                | mediumint    | NO   |     | 0       |       |    
+| Field        | Description                                                                                                                                                | Type         | Null | Key | Default | Extra |
+| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ---- | --- | ------- | ----- |
+| uri-id       | Id of the item-uri table entry that contains the item uri                                                                                                  | int unsigned | NO   | PRI | NULL    |       |
+| postopts     | External post connectors add their network name to this comma-separated string to identify that they should be delivered to these networks during delivery | text         | YES  |     | NULL    |       |
+| inform       | Additional receivers of the linked item                                                                                                                    | mediumtext   | YES  |     | NULL    |       |
+| queue_count  | Initial number of delivery recipients, used as item.delivery_queue_count                                                                                   | mediumint    | NO   |     | 0       |       |
+| queue_done   | Number of successful deliveries, used as item.delivery_queue_done                                                                                          | mediumint    | NO   |     | 0       |       |
+| queue_failed | Number of unsuccessful deliveries, used as item.delivery_queue_failed                                                                                      | mediumint    | NO   |     | 0       |       |
+| activitypub  | Number of successful deliveries via ActivityPub                                                                                                            | mediumint    | NO   |     | 0       |       |
+| dfrn         | Number of successful deliveries via DFRN                                                                                                                   | mediumint    | NO   |     | 0       |       |
+| legacy_dfrn  | Number of successful deliveries via legacy DFRN                                                                                                            | mediumint    | NO   |     | 0       |       |
+| diaspora     | Number of successful deliveries via Diaspora                                                                                                               | mediumint    | NO   |     | 0       |       |
+| ostatus      | Number of successful deliveries via OStatus                                                                                                                | mediumint    | NO   |     | 0       |       |
 
 Return to [database documentation](help/database)
index b78f2d40995a383ba10a62a05e685f06a930f560..e1e299f02e686442ca5ab7eac735d76f3b8d447c 100644 (file)
@@ -1,27 +1,28 @@
 Table post-media
 ===========
+
 Attached media
 
-| Field           | Description                                               | Type              | Null | Key | Default | Extra          |    
-| --------------- | --------------------------------------------------------- | ----------------- | ---- | --- | ------- | -------------- |    
-| id              | sequential ID                                             | int unsigned      | NO   | PRI | NULL    | auto_increment |    
-| uri-id          | Id of the item-uri table entry that contains the item uri | int unsigned      | NO   |     | NULL    |                |    
-| url             | Media URL                                                 | varbinary(511)    | NO   |     | NULL    |                |    
-| type            | Media type                                                | tinyint unsigned  | NO   |     | 0       |                |    
-| mimetype        |                                                           | varchar(60)       | YES  |     | NULL    |                |    
-| height          | Height of the media                                       | smallint unsigned | YES  |     | NULL    |                |    
-| width           | Width of the media                                        | smallint unsigned | YES  |     | NULL    |                |    
-| size            | Media size                                                | int unsigned      | YES  |     | NULL    |                |    
-| preview         | Preview URL                                               | varbinary(255)    | YES  |     | NULL    |                |    
-| preview-height  | Height of the preview picture                             | smallint unsigned | YES  |     | NULL    |                |    
-| preview-width   | Width of the preview picture                              | smallint unsigned | YES  |     | NULL    |                |    
-| description     |                                                           | text              | YES  |     | NULL    |                |    
-| name            | Name of the media                                         | varchar(255)      | YES  |     | NULL    |                |    
-| author-url      | URL of the author of the media                            | varbinary(255)    | YES  |     | NULL    |                |    
-| author-name     | Name of the author of the media                           | varchar(255)      | YES  |     | NULL    |                |    
-| author-image    | Image of the author of the media                          | varbinary(255)    | YES  |     | NULL    |                |    
-| publisher-url   | URL of the publisher of the media                         | varbinary(255)    | YES  |     | NULL    |                |    
-| publisher-name  | Name of the publisher of the media                        | varchar(255)      | YES  |     | NULL    |                |    
-| publisher-image | Image of the publisher of the media                       | varbinary(255)    | YES  |     | NULL    |                |    
+| Field           | Description                                               | Type              | Null | Key | Default | Extra          |
+| --------------- | --------------------------------------------------------- | ----------------- | ---- | --- | ------- | -------------- |
+| id              | sequential ID                                             | int unsigned      | NO   | PRI | NULL    | auto_increment |
+| uri-id          | Id of the item-uri table entry that contains the item uri | int unsigned      | NO   |     | NULL    |                |
+| url             | Media URL                                                 | varbinary(511)    | NO   |     | NULL    |                |
+| type            | Media type                                                | tinyint unsigned  | NO   |     | 0       |                |
+| mimetype        |                                                           | varchar(60)       | YES  |     | NULL    |                |
+| height          | Height of the media                                       | smallint unsigned | YES  |     | NULL    |                |
+| width           | Width of the media                                        | smallint unsigned | YES  |     | NULL    |                |
+| size            | Media size                                                | int unsigned      | YES  |     | NULL    |                |
+| preview         | Preview URL                                               | varbinary(255)    | YES  |     | NULL    |                |
+| preview-height  | Height of the preview picture                             | smallint unsigned | YES  |     | NULL    |                |
+| preview-width   | Width of the preview picture                              | smallint unsigned | YES  |     | NULL    |                |
+| description     |                                                           | text              | YES  |     | NULL    |                |
+| name            | Name of the media                                         | varchar(255)      | YES  |     | NULL    |                |
+| author-url      | URL of the author of the media                            | varbinary(255)    | YES  |     | NULL    |                |
+| author-name     | Name of the author of the media                           | varchar(255)      | YES  |     | NULL    |                |
+| author-image    | Image of the author of the media                          | varbinary(255)    | YES  |     | NULL    |                |
+| publisher-url   | URL of the publisher of the media                         | varbinary(255)    | YES  |     | NULL    |                |
+| publisher-name  | Name of the publisher of the media                        | varchar(255)      | YES  |     | NULL    |                |
+| publisher-image | Image of the publisher of the media                       | varbinary(255)    | YES  |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 53df02cbe01bd9b3188750b6d809c94f675943e0..228f27708ddf7fdf1a094552d1cc4c7320e79a3b 100644 (file)
@@ -1,12 +1,13 @@
 Table post-tag
 ===========
+
 post relation to tags
 
-| Field  | Description                                               | Type             | Null | Key | Default | Extra |    
-| ------ | --------------------------------------------------------- | ---------------- | ---- | --- | ------- | ----- |    
-| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned     | NO   | PRI | NULL    |       |    
-| type   |                                                           | tinyint unsigned | NO   | PRI | 0       |       |    
-| tid    |                                                           | int unsigned     | NO   | PRI | 0       |       |    
-| cid    | Contact id of the mentioned public contact                | int unsigned     | NO   | PRI | 0       |       |    
+| Field  | Description                                               | Type             | Null | Key | Default | Extra |
+| ------ | --------------------------------------------------------- | ---------------- | ---- | --- | ------- | ----- |
+| uri-id | Id of the item-uri table entry that contains the item uri | int unsigned     | NO   | PRI | NULL    |       |
+| type   |                                                           | tinyint unsigned | NO   | PRI | 0       |       |
+| tid    |                                                           | int unsigned     | NO   | PRI | 0       |       |
+| cid    | Contact id of the mentioned public contact                | int unsigned     | NO   | PRI | 0       |       |
 
 Return to [database documentation](help/database)
index 1db1ffe266076bcad5fde643cb42a6448b7040bd..29e5617d35519600bbdd9b932dd4fd419fc38c3e 100644 (file)
@@ -1,31 +1,32 @@
 Table post-thread-user
 ===========
+
 Thread related data per user
 
-| Field        | Description                                                                                             | Type               | Null | Key | Default             | Extra |    
-| ------------ | ------------------------------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | ----- |    
-| uri-id       | Id of the item-uri table entry that contains the item uri                                               | int unsigned       | NO   | PRI | NULL                |       |    
-| owner-id     | Item owner                                                                                              | int unsigned       | NO   |     | 0                   |       |    
-| author-id    | Item author                                                                                             | int unsigned       | NO   |     | 0                   |       |    
-| causer-id    | Link to the contact table with uid=0 of the contact that caused the item creation                       | int unsigned       | YES  |     | NULL                |       |    
-| network      |                                                                                                         | char(4)            | NO   |     |                     |       |    
-| created      |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
-| received     |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
-| changed      | Date that something in the conversation changed, indicating clients should fetch the conversation again | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
-| commented    |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |    
-| uid          | Owner id which owns this copy of the item                                                               | mediumint unsigned | NO   | PRI | 0                   |       |    
-| pinned       | The thread is pinned on the profile page                                                                | boolean            | NO   |     | 0                   |       |    
-| starred      |                                                                                                         | boolean            | NO   |     | 0                   |       |    
-| ignored      | Ignore updates for this thread                                                                          | boolean            | NO   |     | 0                   |       |    
-| wall         | This item was posted to the wall of uid                                                                 | boolean            | NO   |     | 0                   |       |    
-| mention      |                                                                                                         | boolean            | NO   |     | 0                   |       |    
-| pubmail      |                                                                                                         | boolean            | NO   |     | 0                   |       |    
-| forum_mode   |                                                                                                         | tinyint unsigned   | NO   |     | 0                   |       |    
-| contact-id   | contact.id                                                                                              | int unsigned       | NO   |     | 0                   |       |    
-| unseen       | post has not been seen                                                                                  | boolean            | NO   |     | 1                   |       |    
-| hidden       | Marker to hide the post from the user                                                                   | boolean            | NO   |     | 0                   |       |    
-| origin       | item originated at this site                                                                            | boolean            | NO   |     | 0                   |       |    
-| psid         | ID of the permission set of this post                                                                   | int unsigned       | YES  |     | NULL                |       |    
-| post-user-id | Id of the post-user table                                                                               | int unsigned       | YES  |     | NULL                |       |    
+| Field        | Description                                                                                             | Type               | Null | Key | Default             | Extra |
+| ------------ | ------------------------------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | ----- |
+| uri-id       | Id of the item-uri table entry that contains the item uri                                               | int unsigned       | NO   | PRI | NULL                |       |
+| owner-id     | Item owner                                                                                              | int unsigned       | NO   |     | 0                   |       |
+| author-id    | Item author                                                                                             | int unsigned       | NO   |     | 0                   |       |
+| causer-id    | Link to the contact table with uid=0 of the contact that caused the item creation                       | int unsigned       | YES  |     | NULL                |       |
+| network      |                                                                                                         | char(4)            | NO   |     |                     |       |
+| created      |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |
+| received     |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |
+| changed      | Date that something in the conversation changed, indicating clients should fetch the conversation again | datetime           | NO   |     | 0001-01-01 00:00:00 |       |
+| commented    |                                                                                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |       |
+| uid          | Owner id which owns this copy of the item                                                               | mediumint unsigned | NO   | PRI | 0                   |       |
+| pinned       | The thread is pinned on the profile page                                                                | boolean            | NO   |     | 0                   |       |
+| starred      |                                                                                                         | boolean            | NO   |     | 0                   |       |
+| ignored      | Ignore updates for this thread                                                                          | boolean            | NO   |     | 0                   |       |
+| wall         | This item was posted to the wall of uid                                                                 | boolean            | NO   |     | 0                   |       |
+| mention      |                                                                                                         | boolean            | NO   |     | 0                   |       |
+| pubmail      |                                                                                                         | boolean            | NO   |     | 0                   |       |
+| forum_mode   |                                                                                                         | tinyint unsigned   | NO   |     | 0                   |       |
+| contact-id   | contact.id                                                                                              | int unsigned       | NO   |     | 0                   |       |
+| unseen       | post has not been seen                                                                                  | boolean            | NO   |     | 1                   |       |
+| hidden       | Marker to hide the post from the user                                                                   | boolean            | NO   |     | 0                   |       |
+| origin       | item originated at this site                                                                            | boolean            | NO   |     | 0                   |       |
+| psid         | ID of the permission set of this post                                                                   | int unsigned       | YES  |     | NULL                |       |
+| post-user-id | Id of the post-user table                                                                               | int unsigned       | YES  |     | NULL                |       |
 
 Return to [database documentation](help/database)
index 57a28d199cb5f6452f6ea6e00ace9ecbe744610b..8b847e628303f3c78e21f26bc276156dc56b502b 100644 (file)
@@ -1,17 +1,18 @@
 Table post-thread
 ===========
+
 Thread related data
 
-| Field     | Description                                                                                             | Type         | Null | Key | Default             | Extra |    
-| --------- | ------------------------------------------------------------------------------------------------------- | ------------ | ---- | --- | ------------------- | ----- |    
-| uri-id    | Id of the item-uri table entry that contains the item uri                                               | int unsigned | NO   | PRI | NULL                |       |    
-| owner-id  | Item owner                                                                                              | int unsigned | NO   |     | 0                   |       |    
-| author-id | Item author                                                                                             | int unsigned | NO   |     | 0                   |       |    
-| causer-id | Link to the contact table with uid=0 of the contact that caused the item creation                       | int unsigned | YES  |     | NULL                |       |    
-| network   |                                                                                                         | char(4)      | NO   |     |                     |       |    
-| created   |                                                                                                         | datetime     | NO   |     | 0001-01-01 00:00:00 |       |    
-| received  |                                                                                                         | datetime     | NO   |     | 0001-01-01 00:00:00 |       |    
-| changed   | Date that something in the conversation changed, indicating clients should fetch the conversation again | datetime     | NO   |     | 0001-01-01 00:00:00 |       |    
-| commented |                                                                                                         | datetime     | NO   |     | 0001-01-01 00:00:00 |       |    
+| Field     | Description                                                                                             | Type         | Null | Key | Default             | Extra |
+| --------- | ------------------------------------------------------------------------------------------------------- | ------------ | ---- | --- | ------------------- | ----- |
+| uri-id    | Id of the item-uri table entry that contains the item uri                                               | int unsigned | NO   | PRI | NULL                |       |
+| owner-id  | Item owner                                                                                              | int unsigned | NO   |     | 0                   |       |
+| author-id | Item author                                                                                             | int unsigned | NO   |     | 0                   |       |
+| causer-id | Link to the contact table with uid=0 of the contact that caused the item creation                       | int unsigned | YES  |     | NULL                |       |
+| network   |                                                                                                         | char(4)      | NO   |     |                     |       |
+| created   |                                                                                                         | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
+| received  |                                                                                                         | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
+| changed   | Date that something in the conversation changed, indicating clients should fetch the conversation again | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
+| commented |                                                                                                         | datetime     | NO   |     | 0001-01-01 00:00:00 |       |
 
 Return to [database documentation](help/database)
index fc367ca750dbf1e9e0d58bef7e98033aa100c1c7..1607ce2c2394246ef5527acd5b04863e33fd1822 100644 (file)
@@ -1,11 +1,12 @@
 Table post-user-notification
 ===========
+
 User post notifications
 
-| Field             | Description                                               | Type               | Null | Key | Default | Extra |    
-| ----------------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |    
-| uri-id            | Id of the item-uri table entry that contains the item uri | int unsigned       | NO   | PRI | NULL    |       |    
-| uid               | Owner id which owns this copy of the item                 | mediumint unsigned | NO   | PRI | NULL    |       |    
-| notification-type |                                                           | tinyint unsigned   | NO   |     | 0       |       |    
+| Field             | Description                                               | Type               | Null | Key | Default | Extra |
+| ----------------- | --------------------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
+| uri-id            | Id of the item-uri table entry that contains the item uri | int unsigned       | NO   | PRI | NULL    |       |
+| uid               | Owner id which owns this copy of the item                 | mediumint unsigned | NO   | PRI | NULL    |       |
+| notification-type |                                                           | tinyint unsigned   | NO   |     | 0       |       |
 
 Return to [database documentation](help/database)
index 91c101200c0f5b3b545908fa8d4a95d5aaaf9501..8fad8056ecccce302bc8e2afc97bfed752449791 100644 (file)
@@ -1,38 +1,39 @@
 Table post-user
 ===========
+
 User specific post data
 
-| Field             | Description                                                                       | Type               | Null | Key | Default             | Extra          |    
-| ----------------- | --------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id                |                                                                                   | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uri-id            | Id of the item-uri table entry that contains the item uri                         | int unsigned       | NO   |     | NULL                |                |    
-| parent-uri-id     | Id of the item-uri table that contains the parent uri                             | int unsigned       | YES  |     | NULL                |                |    
-| thr-parent-id     | Id of the item-uri table that contains the thread parent uri                      | int unsigned       | YES  |     | NULL                |                |    
-| external-id       | Id of the item-uri table entry that contains the external uri                     | int unsigned       | YES  |     | NULL                |                |    
-| created           | Creation timestamp.                                                               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| edited            | Date of last edit (default is created)                                            | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| received          | datetime                                                                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| gravity           |                                                                                   | tinyint unsigned   | NO   |     | 0                   |                |    
-| network           | Network from where the item comes from                                            | char(4)            | NO   |     |                     |                |    
-| owner-id          | Link to the contact table with uid=0 of the owner of this item                    | int unsigned       | NO   |     | 0                   |                |    
-| author-id         | Link to the contact table with uid=0 of the author of this item                   | int unsigned       | NO   |     | 0                   |                |    
-| causer-id         | Link to the contact table with uid=0 of the contact that caused the item creation | int unsigned       | YES  |     | NULL                |                |    
-| post-type         | Post type (personal note, image, article, ...)                                    | tinyint unsigned   | NO   |     | 0                   |                |    
-| post-reason       | Reason why the post arrived at the user                                           | tinyint unsigned   | NO   |     | 0                   |                |    
-| vid               | Id of the verb table entry that contains the activity verbs                       | smallint unsigned  | YES  |     | NULL                |                |    
-| private           | 0=public, 1=private, 2=unlisted                                                   | tinyint unsigned   | NO   |     | 0                   |                |    
-| global            |                                                                                   | boolean            | NO   |     | 0                   |                |    
-| visible           |                                                                                   | boolean            | NO   |     | 0                   |                |    
-| deleted           | item has been marked for deletion                                                 | boolean            | NO   |     | 0                   |                |    
-| uid               | Owner id which owns this copy of the item                                         | mediumint unsigned | NO   |     | NULL                |                |    
-| protocol          | Protocol used to deliver the item for this user                                   | tinyint unsigned   | YES  |     | NULL                |                |    
-| contact-id        | contact.id                                                                        | int unsigned       | NO   |     | 0                   |                |    
-| event-id          | Used to link to the event.id                                                      | int unsigned       | YES  |     | NULL                |                |    
-| unseen            | post has not been seen                                                            | boolean            | NO   |     | 1                   |                |    
-| hidden            | Marker to hide the post from the user                                             | boolean            | NO   |     | 0                   |                |    
-| notification-type |                                                                                   | tinyint unsigned   | NO   |     | 0                   |                |    
-| wall              | This item was posted to the wall of uid                                           | boolean            | NO   |     | 0                   |                |    
-| origin            | item originated at this site                                                      | boolean            | NO   |     | 0                   |                |    
-| psid              | ID of the permission set of this post                                             | int unsigned       | YES  |     | NULL                |                |    
+| Field             | Description                                                                       | Type               | Null | Key | Default             | Extra          |
+| ----------------- | --------------------------------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id                |                                                                                   | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uri-id            | Id of the item-uri table entry that contains the item uri                         | int unsigned       | NO   |     | NULL                |                |
+| parent-uri-id     | Id of the item-uri table that contains the parent uri                             | int unsigned       | YES  |     | NULL                |                |
+| thr-parent-id     | Id of the item-uri table that contains the thread parent uri                      | int unsigned       | YES  |     | NULL                |                |
+| external-id       | Id of the item-uri table entry that contains the external uri                     | int unsigned       | YES  |     | NULL                |                |
+| created           | Creation timestamp.                                                               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| edited            | Date of last edit (default is created)                                            | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| received          | datetime                                                                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| gravity           |                                                                                   | tinyint unsigned   | NO   |     | 0                   |                |
+| network           | Network from where the item comes from                                            | char(4)            | NO   |     |                     |                |
+| owner-id          | Link to the contact table with uid=0 of the owner of this item                    | int unsigned       | NO   |     | 0                   |                |
+| author-id         | Link to the contact table with uid=0 of the author of this item                   | int unsigned       | NO   |     | 0                   |                |
+| causer-id         | Link to the contact table with uid=0 of the contact that caused the item creation | int unsigned       | YES  |     | NULL                |                |
+| post-type         | Post type (personal note, image, article, ...)                                    | tinyint unsigned   | NO   |     | 0                   |                |
+| post-reason       | Reason why the post arrived at the user                                           | tinyint unsigned   | NO   |     | 0                   |                |
+| vid               | Id of the verb table entry that contains the activity verbs                       | smallint unsigned  | YES  |     | NULL                |                |
+| private           | 0=public, 1=private, 2=unlisted                                                   | tinyint unsigned   | NO   |     | 0                   |                |
+| global            |                                                                                   | boolean            | NO   |     | 0                   |                |
+| visible           |                                                                                   | boolean            | NO   |     | 0                   |                |
+| deleted           | item has been marked for deletion                                                 | boolean            | NO   |     | 0                   |                |
+| uid               | Owner id which owns this copy of the item                                         | mediumint unsigned | NO   |     | NULL                |                |
+| protocol          | Protocol used to deliver the item for this user                                   | tinyint unsigned   | YES  |     | NULL                |                |
+| contact-id        | contact.id                                                                        | int unsigned       | NO   |     | 0                   |                |
+| event-id          | Used to link to the event.id                                                      | int unsigned       | YES  |     | NULL                |                |
+| unseen            | post has not been seen                                                            | boolean            | NO   |     | 1                   |                |
+| hidden            | Marker to hide the post from the user                                             | boolean            | NO   |     | 0                   |                |
+| notification-type |                                                                                   | tinyint unsigned   | NO   |     | 0                   |                |
+| wall              | This item was posted to the wall of uid                                           | boolean            | NO   |     | 0                   |                |
+| origin            | item originated at this site                                                      | boolean            | NO   |     | 0                   |                |
+| psid              | ID of the permission set of this post                                             | int unsigned       | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index 5d9702037143c11816693922aaf44f1b91c3c13d..afde2ef8717572f42989cbcaa433baf3637408ca 100644 (file)
@@ -1,26 +1,27 @@
 Table post
 ===========
+
 Structure for all posts
 
-| Field         | Description                                                                       | Type              | Null | Key | Default             | Extra |    
-| ------------- | --------------------------------------------------------------------------------- | ----------------- | ---- | --- | ------------------- | ----- |    
-| uri-id        | Id of the item-uri table entry that contains the item uri                         | int unsigned      | NO   | PRI | NULL                |       |    
-| parent-uri-id | Id of the item-uri table that contains the parent uri                             | int unsigned      | YES  |     | NULL                |       |    
-| thr-parent-id | Id of the item-uri table that contains the thread parent uri                      | int unsigned      | YES  |     | NULL                |       |    
-| external-id   | Id of the item-uri table entry that contains the external uri                     | int unsigned      | YES  |     | NULL                |       |    
-| created       | Creation timestamp.                                                               | datetime          | NO   |     | 0001-01-01 00:00:00 |       |    
-| edited        | Date of last edit (default is created)                                            | datetime          | NO   |     | 0001-01-01 00:00:00 |       |    
-| received      | datetime                                                                          | datetime          | NO   |     | 0001-01-01 00:00:00 |       |    
-| gravity       |                                                                                   | tinyint unsigned  | NO   |     | 0                   |       |    
-| network       | Network from where the item comes from                                            | char(4)           | NO   |     |                     |       |    
-| owner-id      | Link to the contact table with uid=0 of the owner of this item                    | int unsigned      | NO   |     | 0                   |       |    
-| author-id     | Link to the contact table with uid=0 of the author of this item                   | int unsigned      | NO   |     | 0                   |       |    
-| causer-id     | Link to the contact table with uid=0 of the contact that caused the item creation | int unsigned      | YES  |     | NULL                |       |    
-| post-type     | Post type (personal note, image, article, ...)                                    | tinyint unsigned  | NO   |     | 0                   |       |    
-| vid           | Id of the verb table entry that contains the activity verbs                       | smallint unsigned | YES  |     | NULL                |       |    
-| private       | 0=public, 1=private, 2=unlisted                                                   | tinyint unsigned  | NO   |     | 0                   |       |    
-| global        |                                                                                   | boolean           | NO   |     | 0                   |       |    
-| visible       |                                                                                   | boolean           | NO   |     | 0                   |       |    
-| deleted       | item has been marked for deletion                                                 | boolean           | NO   |     | 0                   |       |    
+| Field         | Description                                                                       | Type              | Null | Key | Default             | Extra |
+| ------------- | --------------------------------------------------------------------------------- | ----------------- | ---- | --- | ------------------- | ----- |
+| uri-id        | Id of the item-uri table entry that contains the item uri                         | int unsigned      | NO   | PRI | NULL                |       |
+| parent-uri-id | Id of the item-uri table that contains the parent uri                             | int unsigned      | YES  |     | NULL                |       |
+| thr-parent-id | Id of the item-uri table that contains the thread parent uri                      | int unsigned      | YES  |     | NULL                |       |
+| external-id   | Id of the item-uri table entry that contains the external uri                     | int unsigned      | YES  |     | NULL                |       |
+| created       | Creation timestamp.                                                               | datetime          | NO   |     | 0001-01-01 00:00:00 |       |
+| edited        | Date of last edit (default is created)                                            | datetime          | NO   |     | 0001-01-01 00:00:00 |       |
+| received      | datetime                                                                          | datetime          | NO   |     | 0001-01-01 00:00:00 |       |
+| gravity       |                                                                                   | tinyint unsigned  | NO   |     | 0                   |       |
+| network       | Network from where the item comes from                                            | char(4)           | NO   |     |                     |       |
+| owner-id      | Link to the contact table with uid=0 of the owner of this item                    | int unsigned      | NO   |     | 0                   |       |
+| author-id     | Link to the contact table with uid=0 of the author of this item                   | int unsigned      | NO   |     | 0                   |       |
+| causer-id     | Link to the contact table with uid=0 of the contact that caused the item creation | int unsigned      | YES  |     | NULL                |       |
+| post-type     | Post type (personal note, image, article, ...)                                    | tinyint unsigned  | NO   |     | 0                   |       |
+| vid           | Id of the verb table entry that contains the activity verbs                       | smallint unsigned | YES  |     | NULL                |       |
+| private       | 0=public, 1=private, 2=unlisted                                                   | tinyint unsigned  | NO   |     | 0                   |       |
+| global        |                                                                                   | boolean           | NO   |     | 0                   |       |
+| visible       |                                                                                   | boolean           | NO   |     | 0                   |       |
+| deleted       | item has been marked for deletion                                                 | boolean           | NO   |     | 0                   |       |
 
 Return to [database documentation](help/database)
index 6e823ce968b030a080fddacaeef4dde124bff31d..648019e835e942089ee612112a9a43802e53cebd 100644 (file)
@@ -1,11 +1,12 @@
 Table process
 ===========
+
 Currently running system processes
 
-| Field   | Description | Type          | Null | Key | Default             | Extra |    
-| ------- | ----------- | ------------- | ---- | --- | ------------------- | ----- |    
-| pid     |             | int unsigned  | NO   | PRI | NULL                |       |    
-| command |             | varbinary(32) | NO   |     |                     |       |    
-| created |             | datetime      | NO   |     | 0001-01-01 00:00:00 |       |    
+| Field   | Description | Type          | Null | Key | Default             | Extra |
+| ------- | ----------- | ------------- | ---- | --- | ------------------- | ----- |
+| pid     |             | int unsigned  | NO   | PRI | NULL                |       |
+| command |             | varbinary(32) | NO   |     |                     |       |
+| created |             | datetime      | NO   |     | 0001-01-01 00:00:00 |       |
 
 Return to [database documentation](help/database)
index debc093caff6b4f6cee1878a1a0e3eb7b8f8c0f3..be97c5d4a84f44610becf093531411f90d71a797 100644 (file)
@@ -1,50 +1,51 @@
 Table profile
 ===========
+
 user profiles data
 
-| Field        | Description                                   | Type               | Null | Key | Default    | Extra          |    
-| ------------ | --------------------------------------------- | ------------------ | ---- | --- | ---------- | -------------- |    
-| id           | sequential ID                                 | int unsigned       | NO   | PRI | NULL       | auto_increment |    
-| uid          | Owner User id                                 | mediumint unsigned | NO   |     | 0          |                |    
-| profile-name | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| is-default   | Deprecated                                    | boolean            | YES  |     | NULL       |                |    
-| hide-friends | Hide friend list from viewers of this profile | boolean            | NO   |     | 0          |                |    
-| name         |                                               | varchar(255)       | NO   |     |            |                |    
-| pdesc        | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| dob          | Day of birth                                  | varchar(32)        | NO   |     | 0000-00-00 |                |    
-| address      |                                               | varchar(255)       | NO   |     |            |                |    
-| locality     |                                               | varchar(255)       | NO   |     |            |                |    
-| region       |                                               | varchar(255)       | NO   |     |            |                |    
-| postal-code  |                                               | varchar(32)        | NO   |     |            |                |    
-| country-name |                                               | varchar(255)       | NO   |     |            |                |    
-| hometown     | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| gender       | Deprecated                                    | varchar(32)        | YES  |     | NULL       |                |    
-| marital      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| with         | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| howlong      | Deprecated                                    | datetime           | YES  |     | NULL       |                |    
-| sexual       | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| politic      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| religion     | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| pub_keywords |                                               | text               | YES  |     | NULL       |                |    
-| prv_keywords |                                               | text               | YES  |     | NULL       |                |    
-| likes        | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| dislikes     | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| about        | Profile description                           | text               | YES  |     | NULL       |                |    
-| summary      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |    
-| music        | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| book         | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| tv           | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| film         | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| interest     | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| romance      | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| work         | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| education    | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| contact      | Deprecated                                    | text               | YES  |     | NULL       |                |    
-| homepage     |                                               | varchar(255)       | NO   |     |            |                |    
-| xmpp         |                                               | varchar(255)       | NO   |     |            |                |    
-| photo        |                                               | varchar(255)       | NO   |     |            |                |    
-| thumb        |                                               | varchar(255)       | NO   |     |            |                |    
-| publish      | publish default profile in local directory    | boolean            | NO   |     | 0          |                |    
-| net-publish  | publish profile in global directory           | boolean            | NO   |     | 0          |                |    
+| Field        | Description                                   | Type               | Null | Key | Default    | Extra          |
+| ------------ | --------------------------------------------- | ------------------ | ---- | --- | ---------- | -------------- |
+| id           | sequential ID                                 | int unsigned       | NO   | PRI | NULL       | auto_increment |
+| uid          | Owner User id                                 | mediumint unsigned | NO   |     | 0          |                |
+| profile-name | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| is-default   | Deprecated                                    | boolean            | YES  |     | NULL       |                |
+| hide-friends | Hide friend list from viewers of this profile | boolean            | NO   |     | 0          |                |
+| name         |                                               | varchar(255)       | NO   |     |            |                |
+| pdesc        | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| dob          | Day of birth                                  | varchar(32)        | NO   |     | 0000-00-00 |                |
+| address      |                                               | varchar(255)       | NO   |     |            |                |
+| locality     |                                               | varchar(255)       | NO   |     |            |                |
+| region       |                                               | varchar(255)       | NO   |     |            |                |
+| postal-code  |                                               | varchar(32)        | NO   |     |            |                |
+| country-name |                                               | varchar(255)       | NO   |     |            |                |
+| hometown     | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| gender       | Deprecated                                    | varchar(32)        | YES  |     | NULL       |                |
+| marital      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| with         | Deprecated                                    | text               | YES  |     | NULL       |                |
+| howlong      | Deprecated                                    | datetime           | YES  |     | NULL       |                |
+| sexual       | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| politic      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| religion     | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| pub_keywords |                                               | text               | YES  |     | NULL       |                |
+| prv_keywords |                                               | text               | YES  |     | NULL       |                |
+| likes        | Deprecated                                    | text               | YES  |     | NULL       |                |
+| dislikes     | Deprecated                                    | text               | YES  |     | NULL       |                |
+| about        | Profile description                           | text               | YES  |     | NULL       |                |
+| summary      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
+| music        | Deprecated                                    | text               | YES  |     | NULL       |                |
+| book         | Deprecated                                    | text               | YES  |     | NULL       |                |
+| tv           | Deprecated                                    | text               | YES  |     | NULL       |                |
+| film         | Deprecated                                    | text               | YES  |     | NULL       |                |
+| interest     | Deprecated                                    | text               | YES  |     | NULL       |                |
+| romance      | Deprecated                                    | text               | YES  |     | NULL       |                |
+| work         | Deprecated                                    | text               | YES  |     | NULL       |                |
+| education    | Deprecated                                    | text               | YES  |     | NULL       |                |
+| contact      | Deprecated                                    | text               | YES  |     | NULL       |                |
+| homepage     |                                               | varchar(255)       | NO   |     |            |                |
+| xmpp         |                                               | varchar(255)       | NO   |     |            |                |
+| photo        |                                               | varchar(255)       | NO   |     |            |                |
+| thumb        |                                               | varchar(255)       | NO   |     |            |                |
+| publish      | publish default profile in local directory    | boolean            | NO   |     | 0          |                |
+| net-publish  | publish profile in global directory           | boolean            | NO   |     | 0          |                |
 
 Return to [database documentation](help/database)
index b35ded56a28789fb2ae08b6b8e77064d559f5b92..77f4bb61889cb4e2fbb723dc4066da2692f90e41 100644 (file)
@@ -1,14 +1,15 @@
 Table profile_check
 ===========
+
 DFRN remote auth use
 
-| Field   | Description   | Type               | Null | Key | Default | Extra          |    
-| ------- | ------------- | ------------------ | ---- | --- | ------- | -------------- |    
-| id      | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uid     | User id       | mediumint unsigned | NO   |     | 0       |                |    
-| cid     | contact.id    | int unsigned       | NO   |     | 0       |                |    
-| dfrn_id |               | varchar(255)       | NO   |     |         |                |    
-| sec     |               | varchar(255)       | NO   |     |         |                |    
-| expire  |               | int unsigned       | NO   |     | 0       |                |    
+| Field   | Description   | Type               | Null | Key | Default | Extra          |
+| ------- | ------------- | ------------------ | ---- | --- | ------- | -------------- |
+| id      | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uid     | User id       | mediumint unsigned | NO   |     | 0       |                |
+| cid     | contact.id    | int unsigned       | NO   |     | 0       |                |
+| dfrn_id |               | varchar(255)       | NO   |     |         |                |
+| sec     |               | varchar(255)       | NO   |     |         |                |
+| expire  |               | int unsigned       | NO   |     | 0       |                |
 
 Return to [database documentation](help/database)
index c213bf113d0b0c5cb45932ed94cc44791b45d304..7bf2e9dcd9cff54a0f51b29977373cbc50b33a2e 100644 (file)
@@ -1,16 +1,17 @@
 Table profile_field
 ===========
+
 Custom profile fields
 
-| Field   | Description                                                 | Type               | Null | Key | Default             | Extra          |    
-| ------- | ----------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id      | sequential ID                                               | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid     | Owner user id                                               | mediumint unsigned | NO   |     | 0                   |                |    
-| order   | Field ordering per user                                     | mediumint unsigned | NO   |     | 1                   |                |    
-| psid    | ID of the permission set of this profile field - 0 = public | int unsigned       | YES  |     | NULL                |                |    
-| label   | Label of the field                                          | varchar(255)       | NO   |     |                     |                |    
-| value   | Value of the field                                          | text               | YES  |     | NULL                |                |    
-| created | creation time                                               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| edited  | last edit time                                              | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
+| Field   | Description                                                 | Type               | Null | Key | Default             | Extra          |
+| ------- | ----------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id      | sequential ID                                               | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid     | Owner user id                                               | mediumint unsigned | NO   |     | 0                   |                |
+| order   | Field ordering per user                                     | mediumint unsigned | NO   |     | 1                   |                |
+| psid    | ID of the permission set of this profile field - 0 = public | int unsigned       | YES  |     | NULL                |                |
+| label   | Label of the field                                          | varchar(255)       | NO   |     |                     |                |
+| value   | Value of the field                                          | text               | YES  |     | NULL                |                |
+| created | creation time                                               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| edited  | last edit time                                              | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
 
 Return to [database documentation](help/database)
index 6098a4fd8d7fe140c42d16fcd45d5b13a1b7c78f..fde15de14aec332f9d149ebce45872dd79dd71de 100644 (file)
@@ -1,18 +1,19 @@
 Table push_subscriber
 ===========
+
 Used for OStatus: Contains feed subscribers
 
-| Field        | Description                       | Type               | Null | Key | Default             | Extra          |    
-| ------------ | --------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id           | sequential ID                     | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| uid          | User id                           | mediumint unsigned | NO   |     | 0                   |                |    
-| callback_url |                                   | varchar(255)       | NO   |     |                     |                |    
-| topic        |                                   | varchar(255)       | NO   |     |                     |                |    
-| nickname     |                                   | varchar(255)       | NO   |     |                     |                |    
-| push         | Retrial counter                   | tinyint            | NO   |     | 0                   |                |    
-| last_update  | Date of last successful trial     | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| next_try     | Next retrial date                 | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| renewed      | Date of last subscription renewal | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| secret       |                                   | varchar(255)       | NO   |     |                     |                |    
+| Field        | Description                       | Type               | Null | Key | Default             | Extra          |
+| ------------ | --------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id           | sequential ID                     | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| uid          | User id                           | mediumint unsigned | NO   |     | 0                   |                |
+| callback_url |                                   | varchar(255)       | NO   |     |                     |                |
+| topic        |                                   | varchar(255)       | NO   |     |                     |                |
+| nickname     |                                   | varchar(255)       | NO   |     |                     |                |
+| push         | Retrial counter                   | tinyint            | NO   |     | 0                   |                |
+| last_update  | Date of last successful trial     | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| next_try     | Next retrial date                 | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| renewed      | Date of last subscription renewal | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| secret       |                                   | varchar(255)       | NO   |     |                     |                |
 
 Return to [database documentation](help/database)
index 630d7b4a6e408656e879417a5db39f6e6ea3d576..fac22811d4b65e30e78c36b63fd3969d2cdb4e18 100644 (file)
@@ -1,15 +1,16 @@
 Table register
 ===========
+
 registrations requiring admin approval
 
-| Field    | Description   | Type               | Null | Key | Default             | Extra          |    
-| -------- | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| id       | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |    
-| hash     |               | varchar(255)       | NO   |     |                     |                |    
-| created  |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| uid      | User id       | mediumint unsigned | NO   |     | 0                   |                |    
-| password |               | varchar(255)       | NO   |     |                     |                |    
-| language |               | varchar(16)        | NO   |     |                     |                |    
-| note     |               | text               | YES  |     | NULL                |                |    
+| Field    | Description   | Type               | Null | Key | Default             | Extra          |
+| -------- | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| id       | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |
+| hash     |               | varchar(255)       | NO   |     |                     |                |
+| created  |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| uid      | User id       | mediumint unsigned | NO   |     | 0                   |                |
+| password |               | varchar(255)       | NO   |     |                     |                |
+| language |               | varchar(16)        | NO   |     |                     |                |
+| note     |               | text               | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index 0297545a0e5ef8245531dd44a9c7c57dc685974a..dc20ac42a5d0c3190c5ef7a7564db42ac47d71f6 100644 (file)
@@ -2,10 +2,11 @@ Table search
 ===========
 
 
-| Field | Description   | Type               | Null | Key | Default | Extra          |    
-| ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- |    
-| id    | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |    
-| uid   | User id       | mediumint unsigned | NO   |     | 0       |                |    
-| term  |               | varchar(255)       | NO   |     |         |                |    
+
+| Field | Description   | Type               | Null | Key | Default | Extra          |
+| ----- | ------------- | ------------------ | ---- | --- | ------- | -------------- |
+| id    | sequential ID | int unsigned       | NO   | PRI | NULL    | auto_increment |
+| uid   | User id       | mediumint unsigned | NO   |     | 0       |                |
+| term  |               | varchar(255)       | NO   |     |         |                |
 
 Return to [database documentation](help/database)
index 04c85487f3b8f4725e3af40ce74db146e556fc1f..d01b5736471a01334d7a4ab45630de1ce27cb63f 100644 (file)
@@ -1,12 +1,13 @@
 Table session
 ===========
+
 web session storage
 
-| Field  | Description   | Type            | Null | Key | Default | Extra          |    
-| ------ | ------------- | --------------- | ---- | --- | ------- | -------------- |    
-| id     | sequential ID | bigint unsigned | NO   | PRI | NULL    | auto_increment |    
-| sid    |               | varbinary(255)  | NO   |     |         |                |    
-| data   |               | text            | YES  |     | NULL    |                |    
-| expire |               | int unsigned    | NO   |     | 0       |                |    
+| Field  | Description   | Type            | Null | Key | Default | Extra          |
+| ------ | ------------- | --------------- | ---- | --- | ------- | -------------- |
+| id     | sequential ID | bigint unsigned | NO   | PRI | NULL    | auto_increment |
+| sid    |               | varbinary(255)  | NO   |     |         |                |
+| data   |               | text            | YES  |     | NULL    |                |
+| expire |               | int unsigned    | NO   |     | 0       |                |
 
 Return to [database documentation](help/database)
index 00807760c578b7b8f485121dc6dac9b70870b0fc..21596ba65300f39214f6327855e5f5bb509f5de4 100644 (file)
@@ -1,10 +1,11 @@
 Table storage
 ===========
+
 Data stored by Database storage backend
 
-| Field | Description                    | Type         | Null | Key | Default | Extra          |    
-| ----- | ------------------------------ | ------------ | ---- | --- | ------- | -------------- |    
-| id    | Auto incremented image data id | int unsigned | NO   | PRI | NULL    | auto_increment |    
-| data  | file data                      | longblob     | NO   |     | NULL    |                |    
+| Field | Description                    | Type         | Null | Key | Default | Extra          |
+| ----- | ------------------------------ | ------------ | ---- | --- | ------- | -------------- |
+| id    | Auto incremented image data id | int unsigned | NO   | PRI | NULL    | auto_increment |
+| data  | file data                      | longblob     | NO   |     | NULL    |                |
 
 Return to [database documentation](help/database)
index 1d1ed72b098a50c367d2ecae641527907517a3b1..f52478c855a031173a309188ac6fca59d433081c 100644 (file)
@@ -1,11 +1,12 @@
 Table tag
 ===========
+
 tags and mentions
 
-| Field | Description | Type           | Null | Key | Default | Extra          |    
-| ----- | ----------- | -------------- | ---- | --- | ------- | -------------- |    
-| id    |             | int unsigned   | NO   | PRI | NULL    | auto_increment |    
-| name  |             | varchar(96)    | NO   |     |         |                |    
-| url   |             | varbinary(255) | NO   |     |         |                |    
+| Field | Description | Type           | Null | Key | Default | Extra          |
+| ----- | ----------- | -------------- | ---- | --- | ------- | -------------- |
+| id    |             | int unsigned   | NO   | PRI | NULL    | auto_increment |
+| name  |             | varchar(96)    | NO   |     |         |                |
+| url   |             | varbinary(255) | NO   |     |         |                |
 
 Return to [database documentation](help/database)
index d3f45bb79663f33e2642be92d44863ac734d3253..bf20f16b824eb61e75d8f4cef92e2a9db39059e9 100644 (file)
@@ -1,14 +1,15 @@
 Table tokens
 ===========
+
 OAuth usage
 
-| Field     | Description | Type               | Null | Key | Default | Extra |    
-| --------- | ----------- | ------------------ | ---- | --- | ------- | ----- |    
-| id        |             | varchar(40)        | NO   | PRI | NULL    |       |    
-| secret    |             | text               | YES  |     | NULL    |       |    
-| client_id |             | varchar(20)        | NO   |     |         |       |    
-| expires   |             | int                | NO   |     | 0       |       |    
-| scope     |             | varchar(200)       | NO   |     |         |       |    
-| uid       | User id     | mediumint unsigned | NO   |     | 0       |       |    
+| Field     | Description | Type               | Null | Key | Default | Extra |
+| --------- | ----------- | ------------------ | ---- | --- | ------- | ----- |
+| id        |             | varchar(40)        | NO   | PRI | NULL    |       |
+| secret    |             | text               | YES  |     | NULL    |       |
+| client_id |             | varchar(20)        | NO   |     |         |       |
+| expires   |             | int                | NO   |     | 0       |       |
+| scope     |             | varchar(200)       | NO   |     |         |       |
+| uid       | User id     | mediumint unsigned | NO   |     | 0       |       |
 
 Return to [database documentation](help/database)
index ba529fd0a8fcc8030c26a5c37eecb5de73354a48..9bcbff7d337430a978a6fc3d61c95c23a2e6ca30 100644 (file)
@@ -1,13 +1,14 @@
 Table user-contact
 ===========
+
 User specific public contact data
 
-| Field     | Description                                 | Type               | Null | Key | Default | Extra |    
-| --------- | ------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |    
-| cid       | Contact id of the linked public contact     | int unsigned       | NO   | PRI | 0       |       |    
-| uid       | User id                                     | mediumint unsigned | NO   | PRI | 0       |       |    
-| blocked   | Contact is completely blocked for this user | boolean            | YES  |     | NULL    |       |    
-| ignored   | Posts from this contact are ignored         | boolean            | YES  |     | NULL    |       |    
-| collapsed | Posts from this contact are collapsed       | boolean            | YES  |     | NULL    |       |    
+| Field     | Description                                 | Type               | Null | Key | Default | Extra |
+| --------- | ------------------------------------------- | ------------------ | ---- | --- | ------- | ----- |
+| cid       | Contact id of the linked public contact     | int unsigned       | NO   | PRI | 0       |       |
+| uid       | User id                                     | mediumint unsigned | NO   | PRI | 0       |       |
+| blocked   | Contact is completely blocked for this user | boolean            | YES  |     | NULL    |       |
+| ignored   | Posts from this contact are ignored         | boolean            | YES  |     | NULL    |       |
+| collapsed | Posts from this contact are collapsed       | boolean            | YES  |     | NULL    |       |
 
 Return to [database documentation](help/database)
index 6e63c6a3a31d01094dea8ba22563669619af4a15..8cc762cc225f089e86df33142c37d11ba08d0339 100644 (file)
@@ -1,53 +1,54 @@
 Table user
 ===========
+
 The local users
 
-| Field                    | Description                                               | Type               | Null | Key | Default             | Extra          |    
-| ------------------------ | --------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |    
-| uid                      | sequential ID                                             | mediumint unsigned | NO   | PRI | NULL                | auto_increment |    
-| parent-uid               | The parent user that has full control about this user     | mediumint unsigned | YES  |     | NULL                |                |    
-| guid                     | A unique identifier for this user                         | varchar(64)        | NO   |     |                     |                |    
-| username                 | Name that this user is known by                           | varchar(255)       | NO   |     |                     |                |    
-| password                 | encrypted password                                        | varchar(255)       | NO   |     |                     |                |    
-| legacy_password          | Is the password hash double-hashed?                       | boolean            | NO   |     | 0                   |                |    
-| nickname                 | nick- and user name                                       | varchar(255)       | NO   |     |                     |                |    
-| email                    | the users email address                                   | varchar(255)       | NO   |     |                     |                |    
-| openid                   |                                                           | varchar(255)       | NO   |     |                     |                |    
-| timezone                 | PHP-legal timezone                                        | varchar(128)       | NO   |     |                     |                |    
-| language                 | default language                                          | varchar(32)        | NO   |     | en                  |                |    
-| register_date            | timestamp of registration                                 | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| login_date               | timestamp of last login                                   | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| default-location         | Default for item.location                                 | varchar(255)       | NO   |     |                     |                |    
-| allow_location           | 1 allows to display the location                          | boolean            | NO   |     | 0                   |                |    
-| theme                    | user theme preference                                     | varchar(255)       | NO   |     |                     |                |    
-| pubkey                   | RSA public key 4096 bit                                   | text               | YES  |     | NULL                |                |    
-| prvkey                   | RSA private key 4096 bit                                  | text               | YES  |     | NULL                |                |    
-| spubkey                  |                                                           | text               | YES  |     | NULL                |                |    
-| sprvkey                  |                                                           | text               | YES  |     | NULL                |                |    
-| verified                 | user is verified through email                            | boolean            | NO   |     | 0                   |                |    
-| blocked                  | 1 for user is blocked                                     | boolean            | NO   |     | 0                   |                |    
-| blockwall                | Prohibit contacts to post to the profile page of the user | boolean            | NO   |     | 0                   |                |    
-| hidewall                 | Hide profile details from unkown viewers                  | boolean            | NO   |     | 0                   |                |    
-| blocktags                | Prohibit contacts to tag the post of this user            | boolean            | NO   |     | 0                   |                |    
-| unkmail                  | Permit unknown people to send private mails to this user  | boolean            | NO   |     | 0                   |                |    
-| cntunkmail               |                                                           | int unsigned       | NO   |     | 10                  |                |    
-| notify-flags             | email notification options                                | smallint unsigned  | NO   |     | 65535               |                |    
-| page-flags               | page/profile type                                         | tinyint unsigned   | NO   |     | 0                   |                |    
-| account-type             |                                                           | tinyint unsigned   | NO   |     | 0                   |                |    
-| prvnets                  |                                                           | boolean            | NO   |     | 0                   |                |    
-| pwdreset                 | Password reset request token                              | varchar(255)       | YES  |     | NULL                |                |    
-| pwdreset_time            | Timestamp of the last password reset request              | datetime           | YES  |     | NULL                |                |    
-| maxreq                   |                                                           | int unsigned       | NO   |     | 10                  |                |    
-| expire                   |                                                           | int unsigned       | NO   |     | 0                   |                |    
-| account_removed          | if 1 the account is removed                               | boolean            | NO   |     | 0                   |                |    
-| account_expired          |                                                           | boolean            | NO   |     | 0                   |                |    
-| account_expires_on       | timestamp when account expires and will be deleted        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| expire_notification_sent | timestamp of last warning of account expiration           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |    
-| def_gid                  |                                                           | int unsigned       | NO   |     | 0                   |                |    
-| allow_cid                | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |    
-| allow_gid                | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |    
-| deny_cid                 | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |    
-| deny_gid                 | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |    
-| openidserver             |                                                           | text               | YES  |     | NULL                |                |    
+| Field                    | Description                                               | Type               | Null | Key | Default             | Extra          |
+| ------------------------ | --------------------------------------------------------- | ------------------ | ---- | --- | ------------------- | -------------- |
+| uid                      | sequential ID                                             | mediumint unsigned | NO   | PRI | NULL                | auto_increment |
+| parent-uid               | The parent user that has full control about this user     | mediumint unsigned | YES  |     | NULL                |                |
+| guid                     | A unique identifier for this user                         | varchar(64)        | NO   |     |                     |                |
+| username                 | Name that this user is known by                           | varchar(255)       | NO   |     |                     |                |
+| password                 | encrypted password                                        | varchar(255)       | NO   |     |                     |                |
+| legacy_password          | Is the password hash double-hashed?                       | boolean            | NO   |     | 0                   |                |
+| nickname                 | nick- and user name                                       | varchar(255)       | NO   |     |                     |                |
+| email                    | the users email address                                   | varchar(255)       | NO   |     |                     |                |
+| openid                   |                                                           | varchar(255)       | NO   |     |                     |                |
+| timezone                 | PHP-legal timezone                                        | varchar(128)       | NO   |     |                     |                |
+| language                 | default language                                          | varchar(32)        | NO   |     | en                  |                |
+| register_date            | timestamp of registration                                 | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| login_date               | timestamp of last login                                   | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| default-location         | Default for item.location                                 | varchar(255)       | NO   |     |                     |                |
+| allow_location           | 1 allows to display the location                          | boolean            | NO   |     | 0                   |                |
+| theme                    | user theme preference                                     | varchar(255)       | NO   |     |                     |                |
+| pubkey                   | RSA public key 4096 bit                                   | text               | YES  |     | NULL                |                |
+| prvkey                   | RSA private key 4096 bit                                  | text               | YES  |     | NULL                |                |
+| spubkey                  |                                                           | text               | YES  |     | NULL                |                |
+| sprvkey                  |                                                           | text               | YES  |     | NULL                |                |
+| verified                 | user is verified through email                            | boolean            | NO   |     | 0                   |                |
+| blocked                  | 1 for user is blocked                                     | boolean            | NO   |     | 0                   |                |
+| blockwall                | Prohibit contacts to post to the profile page of the user | boolean            | NO   |     | 0                   |                |
+| hidewall                 | Hide profile details from unkown viewers                  | boolean            | NO   |     | 0                   |                |
+| blocktags                | Prohibit contacts to tag the post of this user            | boolean            | NO   |     | 0                   |                |
+| unkmail                  | Permit unknown people to send private mails to this user  | boolean            | NO   |     | 0                   |                |
+| cntunkmail               |                                                           | int unsigned       | NO   |     | 10                  |                |
+| notify-flags             | email notification options                                | smallint unsigned  | NO   |     | 65535               |                |
+| page-flags               | page/profile type                                         | tinyint unsigned   | NO   |     | 0                   |                |
+| account-type             |                                                           | tinyint unsigned   | NO   |     | 0                   |                |
+| prvnets                  |                                                           | boolean            | NO   |     | 0                   |                |
+| pwdreset                 | Password reset request token                              | varchar(255)       | YES  |     | NULL                |                |
+| pwdreset_time            | Timestamp of the last password reset request              | datetime           | YES  |     | NULL                |                |
+| maxreq                   |                                                           | int unsigned       | NO   |     | 10                  |                |
+| expire                   |                                                           | int unsigned       | NO   |     | 0                   |                |
+| account_removed          | if 1 the account is removed                               | boolean            | NO   |     | 0                   |                |
+| account_expired          |                                                           | boolean            | NO   |     | 0                   |                |
+| account_expires_on       | timestamp when account expires and will be deleted        | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| expire_notification_sent | timestamp of last warning of account expiration           | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
+| def_gid                  |                                                           | int unsigned       | NO   |     | 0                   |                |
+| allow_cid                | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |
+| allow_gid                | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |
+| deny_cid                 | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |
+| deny_gid                 | default permission for this user                          | mediumtext         | YES  |     | NULL                |                |
+| openidserver             |                                                           | text               | YES  |     | NULL                |                |
 
 Return to [database documentation](help/database)
index df2c20c33b4b32ca8b68df0cdcbffc624f26d464..eaef348749214082ba3d88643d583508e901d8eb 100644 (file)
@@ -1,10 +1,11 @@
 Table userd
 ===========
+
 Deleted usernames
 
-| Field    | Description   | Type         | Null | Key | Default | Extra          |    
-| -------- | ------------- | ------------ | ---- | --- | ------- | -------------- |    
-| id       | sequential ID | int unsigned | NO   | PRI | NULL    | auto_increment |    
-| username |               | varchar(255) | NO   |     | NULL    |                |    
+| Field    | Description   | Type         | Null | Key | Default | Extra          |
+| -------- | ------------- | ------------ | ---- | --- | ------- | -------------- |
+| id       | sequential ID | int unsigned | NO   | PRI | NULL    | auto_increment |
+| username |               | varchar(255) | NO   |     | NULL    |                |
 
 Return to [database documentation](help/database)
index f5451104c9646988189c767c4f71e24a4fd3e629..cd5d66f83593d59b395060c5f29e224e33664229 100644 (file)
@@ -1,10 +1,11 @@
 Table verb
 ===========
+
 Activity Verbs
 
-| Field | Description | Type              | Null | Key | Default | Extra          |    
-| ----- | ----------- | ----------------- | ---- | --- | ------- | -------------- |    
-| id    |             | smallint unsigned | NO   | PRI | NULL    | auto_increment |    
-| name  |             | varchar(100)      | NO   |     |         |                |    
+| Field | Description | Type              | Null | Key | Default | Extra          |
+| ----- | ----------- | ----------------- | ---- | --- | ------- | -------------- |
+| id    |             | smallint unsigned | NO   | PRI | NULL    | auto_increment |
+| name  |             | varchar(100)      | NO   |     |         |                |
 
 Return to [database documentation](help/database)
index 266efc576c209d7d5e31910a78e96254da924b42..57ec489352e93030648b38eb406eb50fe404ac1c 100644 (file)
@@ -1,10 +1,11 @@
 Table worker-ipc
 ===========
+
 Inter process communication between the frontend and the worker
 
-| Field | Description               | Type    | Null | Key | Default | Extra |    
-| ----- | ------------------------- | ------- | ---- | --- | ------- | ----- |    
-| key   |                           | int     | NO   | PRI | NULL    |       |    
-| jobs  | Flag for outstanding jobs | boolean | YES  |     | NULL    |       |    
+| Field | Description               | Type    | Null | Key | Default | Extra |
+| ----- | ------------------------- | ------- | ---- | --- | ------- | ----- |
+| key   |                           | int     | NO   | PRI | NULL    |       |
+| jobs  | Flag for outstanding jobs | boolean | YES  |     | NULL    |       |
 
 Return to [database documentation](help/database)
index fac65b0197308be029c4d5223af6987ef2cefa67..16b6a2e0d89c056aa5b1e7de41278abcf838e66b 100644 (file)
@@ -1,18 +1,19 @@
 Table workerqueue
 ===========
+
 Background tasks queue entries
 
-| Field     | Description                                             | Type             | Null | Key | Default             | Extra          |    
-| --------- | ------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |    
-| id        | Auto incremented worker task id                         | int unsigned     | NO   | PRI | NULL                | auto_increment |    
-| command   | Task command                                            | varchar(100)     | YES  |     | NULL                |                |    
-| parameter | Task parameter                                          | mediumtext       | YES  |     | NULL                |                |    
-| priority  | Task priority                                           | tinyint unsigned | NO   |     | 0                   |                |    
-| created   | Creation date                                           | datetime         | NO   |     | 0001-01-01 00:00:00 |                |    
-| pid       | Process id of the worker                                | int unsigned     | NO   |     | 0                   |                |    
-| executed  | Execution date                                          | datetime         | NO   |     | 0001-01-01 00:00:00 |                |    
-| next_try  | Next retrial date                                       | datetime         | NO   |     | 0001-01-01 00:00:00 |                |    
-| retrial   | Retrial counter                                         | tinyint          | NO   |     | 0                   |                |    
-| done      | Marked 1 when the task was done - will be deleted later | boolean          | NO   |     | 0                   |                |    
+| Field     | Description                                             | Type             | Null | Key | Default             | Extra          |
+| --------- | ------------------------------------------------------- | ---------------- | ---- | --- | ------------------- | -------------- |
+| id        | Auto incremented worker task id                         | int unsigned     | NO   | PRI | NULL                | auto_increment |
+| command   | Task command                                            | varchar(100)     | YES  |     | NULL                |                |
+| parameter | Task parameter                                          | mediumtext       | YES  |     | NULL                |                |
+| priority  | Task priority                                           | tinyint unsigned | NO   |     | 0                   |                |
+| created   | Creation date                                           | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
+| pid       | Process id of the worker                                | int unsigned     | NO   |     | 0                   |                |
+| executed  | Execution date                                          | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
+| next_try  | Next retrial date                                       | datetime         | NO   |     | 0001-01-01 00:00:00 |                |
+| retrial   | Retrial counter                                         | tinyint          | NO   |     | 0                   |                |
+| done      | Marked 1 when the task was done - will be deleted later | boolean          | NO   |     | 0                   |                |
 
 Return to [database documentation](help/database)
index 7b1569e37d9d50e2276902c6e604961f45ec0f6e..3ec9ba9b2d5d03dd98e41c5e06be274e38343be3 100644 (file)
@@ -1,9 +1,10 @@
 Table {{$name}}
 ===========
+
 {{$comment}}
 
 {{foreach $fields as $field}}
-| {{$field.name}} | {{$field.comment}} | {{$field.type}} | {{$field.null}} | {{$field.primary}} | {{$field.default}} | {{$field.extra}} |    
+| {{$field.name}} | {{$field.comment}} | {{$field.type}} | {{$field.null}} | {{$field.primary}} | {{$field.default}} | {{$field.extra}} |
 {{/foreach}}
 
 Return to [database documentation](help/database)