]> git.mxchange.org Git - friendica.git/commitdiff
Formatted index list
authorMichael <heluecht@pirati.ca>
Mon, 14 Jun 2021 12:15:10 +0000 (12:15 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 14 Jun 2021 12:15:10 +0000 (12:15 +0000)
73 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
src/Database/DBStructure.php
view/templates/structure.tpl

index 9d9c7ca452df96ca8abe55c3cf3332d2e89b48a2..66dd77c95cb65c6b22a662a3908e409a346bedb7 100644 (file)
@@ -18,9 +18,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name            | Fields                |
+| --------------- | --------------------- |
+| PRIMARY         | id                    |
 | uid_description | uid, description(190) |
 
 Foreign Keys
index e7c1940d855e9cad6949e593093ed7886f4dc4fa..69c34e6547d83fc994486b9659d092140d3e1874 100644 (file)
@@ -16,8 +16,8 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields    |
+| ------- | --------- |
 | PRIMARY | uid, code |
 
 Foreign Keys
index 9e12dabc7dee9dc00db6ba4ae97ec67684d2734e..d12d9e1fc0bbe38dc033521b1a59bb0ff17b9185 100644 (file)
@@ -17,10 +17,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields      |
+| ------- | ----------- |
 | PRIMARY | cookie_hash |
-| uid | uid |
+| uid     | uid         |
 
 Foreign Keys
 ------------
index 21fae66f34dbd993bad174abd82bb069c0106a60..7233b80095d13b077a3f169c688b8ff140bc0d4c 100644 (file)
@@ -19,11 +19,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name           | Fields          |
+| -------------- | --------------- |
+| PRIMARY        | id              |
 | installed_name | installed, name |
-| name | UNIQUE, name |
+| name           | UNIQUE, name    |
 
 
 Return to [database documentation](help/database)
index cb2f8327a83193a5f2b3b01bf3f12046a75f560c..5f5d21e4ebfe28b6c42cb417c72a77b99b539c25 100644 (file)
@@ -36,15 +36,15 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | url |
-| addr | addr(32) |
-| alias | alias(190) |
-| followers | followers(190) |
-| baseurl | baseurl(190) |
+| Name        | Fields           |
+| ----------- | ---------------- |
+| PRIMARY     | url              |
+| addr        | addr(32)         |
+| alias       | alias(190)       |
+| followers   | followers(190)   |
+| baseurl     | baseurl(190)     |
 | sharedinbox | sharedinbox(190) |
-| gsid | gsid |
+| gsid        | gsid             |
 
 Foreign Keys
 ------------
index 15f85f06ea1efeba7d6f46908de1bad040946b5f..9899a5e8b31cad46b9b23fcef5e52a913616f370 100644 (file)
@@ -22,10 +22,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields              |
+| ------- | ------------------- |
 | PRIMARY | application-id, uid |
-| uid_id | uid, application-id |
+| uid_id  | uid, application-id |
 
 Foreign Keys
 ------------
index 2099b33743d0125d2799a1cfd032b6ef0ec8f0bd..0a91e703ad960f421a5e4dd4678858a7ed0bbeda 100644 (file)
@@ -23,9 +23,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name      | Fields            |
+| --------- | ----------------- |
+| PRIMARY   | id                |
 | client_id | UNIQUE, client_id |
 
 
index baef7c89ddfc3b5a06f6c7079bdb60b7d2e3c6c8..9eb0f36e94e93f27d68d1a93b2deb1c64c539c6e 100644 (file)
@@ -27,10 +27,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
 
 Foreign Keys
 ------------
index df53a5b280690258aa289b9624a698d3caf98b5d..a1d28e0965ff045528085bce17dad3c24d875f7b 100644 (file)
@@ -17,9 +17,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name      | Fields    |
+| --------- | --------- |
+| PRIMARY   | id        |
 | client_id | client_id |
 
 Foreign Keys
index 770b4ab446d326e4b7657fd3945193ea5ecc12a9..27a11daa66c7dbe8af06a5ae292b7ec2ff6d5aac 100644 (file)
@@ -16,9 +16,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | k |
+| Name      | Fields     |
+| --------- | ---------- |
+| PRIMARY   | k          |
 | k_expires | k, expires |
 
 
index a9f17bc631d8dcc7e41ace708655dced9bac4a9a..16183890943ed657a765d89541637f0e9a16ffe0 100644 (file)
@@ -18,10 +18,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| expire | expire |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| expire  | expire |
 
 
 Return to [database documentation](help/database)
index 29f9fe52f5c314212b1a55b3ebd37c106b693079..a97e796edda8915c3951bd53443a2a73697adce8 100644 (file)
@@ -18,10 +18,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields    |
+| ------- | --------- |
 | PRIMARY | client_id |
-| uid | uid |
+| uid     | uid       |
 
 Foreign Keys
 ------------
index 32396dc743209ffb15c01dfec149852499910410..7d7618794aaa01f9593991164441efa25aa4fac1 100644 (file)
@@ -16,10 +16,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| cat_k | UNIQUE, cat, k |
+| Name    | Fields         |
+| ------- | -------------- |
+| PRIMARY | id             |
+| cat_k   | UNIQUE, cat, k |
 
 
 Return to [database documentation](help/database)
index d9f74a40a4bcb81dc7a969c38e144952242cbe76..8628b1ef66a0c5db9d9ed1225faaa97cacc30f17 100644 (file)
@@ -17,10 +17,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | cid, relation-cid |
-| relation-cid | relation-cid |
+| Name         | Fields            |
+| ------------ | ----------------- |
+| PRIMARY      | cid, relation-cid |
+| relation-cid | relation-cid      |
 
 Foreign Keys
 ------------
index 0cca0ed1135405542007d5d83224d6b44e39ace2..0e04c1ece8530e7fad7821f7f0d501c0a511e6c2 100644 (file)
@@ -92,31 +92,31 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid_name | uid, name(190) |
-| self_uid | self, uid |
-| alias_uid | alias(128), uid |
-| pending_uid | pending, uid |
-| blocked_uid | blocked, uid |
-| uid_rel_network_poll | uid, rel, network, poll(64), archive |
-| uid_network_batch | uid, network, batch(64) |
-| batch_contact-type | batch(64), contact-type |
-| addr_uid | addr(128), uid |
-| nurl_uid | nurl(128), uid |
-| nick_uid | nick(128), uid |
-| attag_uid | attag(96), uid |
-| dfrn-id | dfrn-id(64) |
-| issued-id | issued-id(64) |
-| network_uid_lastupdate | network, uid, last-update |
-| uid_network_self_lastupdate | uid, network, self, last-update |
-| uid_lastitem | uid, last-item |
-| baseurl | baseurl(64) |
-| uid_contact-type | uid, contact-type |
-| uid_self_contact-type | uid, self, contact-type |
-| self_network_uid | self, network, uid |
-| gsid | gsid |
+| Name                        | Fields                               |
+| --------------------------- | ------------------------------------ |
+| PRIMARY                     | id                                   |
+| uid_name                    | uid, name(190)                       |
+| self_uid                    | self, uid                            |
+| alias_uid                   | alias(128), uid                      |
+| pending_uid                 | pending, uid                         |
+| blocked_uid                 | blocked, uid                         |
+| uid_rel_network_poll        | uid, rel, network, poll(64), archive |
+| uid_network_batch           | uid, network, batch(64)              |
+| batch_contact-type          | batch(64), contact-type              |
+| addr_uid                    | addr(128), uid                       |
+| nurl_uid                    | nurl(128), uid                       |
+| nick_uid                    | nick(128), uid                       |
+| attag_uid                   | attag(96), uid                       |
+| dfrn-id                     | dfrn-id(64)                          |
+| issued-id                   | issued-id(64)                        |
+| network_uid_lastupdate      | network, uid, last-update            |
+| uid_network_self_lastupdate | uid, network, self, last-update      |
+| uid_lastitem                | uid, last-item                       |
+| baseurl                     | baseurl(64)                          |
+| uid_contact-type            | uid, contact-type                    |
+| uid_self_contact-type       | uid, self, contact-type              |
+| self_network_uid            | self, network, uid                   |
+| gsid                        | gsid                                 |
 
 Foreign Keys
 ------------
index f53918291e7c50dd3929b499f09881d418136d28..c1d50b5de587feeca1a4db8f4969d8b85e05c268 100644 (file)
@@ -20,10 +20,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
 
 Foreign Keys
 ------------
index 308d5ee2bd44ddb3a456db1be937c62e92991ee7..504b0dd4ae1c96bc125dc2865d1cec57ae03d939 100644 (file)
@@ -20,11 +20,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | item-uri |
+| Name             | Fields           |
+| ---------------- | ---------------- |
+| PRIMARY          | item-uri         |
 | conversation-uri | conversation-uri |
-| received | received |
+| received         | received         |
 
 
 Return to [database documentation](help/database)
index d9faab2890b8d4b288b57207f3f80255bc93a120..fe3251f70a620f417ccb1318ffda013ec3c592f8 100644 (file)
@@ -16,9 +16,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name    | Fields                |
+| ------- | --------------------- |
+| PRIMARY | id                    |
 | uid_uri | UNIQUE, uid, uri(190) |
 
 Foreign Keys
index f56a72abd4d46d0d95524ad67fc21d3188abf9b8..4ac432590976cb2d03d3c0255661e944420e582b 100644 (file)
@@ -14,8 +14,8 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields |
+| ------- | ------ |
 | PRIMARY | uri-id |
 
 Foreign Keys
index b222dc9159eb64ae88337b2d6498176c74567fdc..d8b009639f020cbaef9f6ff9dba54d375b419e68 100644 (file)
@@ -32,11 +32,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name      | Fields     |
+| --------- | ---------- |
+| PRIMARY   | id         |
 | uid_start | uid, start |
-| cid | cid |
+| cid       | cid        |
 
 Foreign Keys
 ------------
index e3cf61fa5ea7c6675ed30da40b19f0785d844f12..43a073f619e8f26396bb6d8de6b59c2ce0e467cd 100644 (file)
@@ -29,11 +29,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| addr | addr(32) |
-| url | UNIQUE, url(190) |
+| Name    | Fields           |
+| ------- | ---------------- |
+| PRIMARY | id               |
+| addr    | addr(32)         |
+| url     | UNIQUE, url(190) |
 
 
 Return to [database documentation](help/database)
index 37d63c7c600266766c9f42f3924f365e2fb8b519..6ccf732971366dd3494fb5b3be2306c37fc97eb7 100644 (file)
@@ -21,11 +21,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| cid | cid |
-| uid | uid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| cid     | cid    |
+| uid     | uid    |
 
 Foreign Keys
 ------------
index 23150bdcbe13b7a1d8a2e1c8c73b9452a7f1147f..1892de3e401afdc71cb30f6aec66dc0d4e66dbd1 100644 (file)
@@ -17,10 +17,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
 
 Foreign Keys
 ------------
index 2dd9fb41d63a7249069665e160b26107507bfe74..a544f3b0ec37504559ea2d3bda82cd2d5fd9ea1d 100644 (file)
@@ -15,10 +15,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| contactid | contact-id |
+| Name          | Fields                  |
+| ------------- | ----------------------- |
+| PRIMARY       | id                      |
+| contactid     | contact-id              |
 | gid_contactid | UNIQUE, gid, contact-id |
 
 Foreign Keys
index bce171f11fbb145b14833182b93995d500fd06db..82b0ccc881898371965fd675bb4dc179ea552bdc 100644 (file)
@@ -14,10 +14,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields          |
+| ------- | --------------- |
 | PRIMARY | gserver-id, tag |
-| tag | tag |
+| tag     | tag             |
 
 Foreign Keys
 ------------
index 66339427ee76d15ba7c9b0d85e2345810c0af2ac..905602b3b8b4ad364e232a4244861ca6a2b3cb58 100644 (file)
@@ -35,12 +35,12 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| nurl | UNIQUE, nurl(190) |
-| next_contact | next_contact |
-| network | network |
+| Name         | Fields            |
+| ------------ | ----------------- |
+| PRIMARY      | id                |
+| nurl         | UNIQUE, nurl(190) |
+| next_contact | next_contact      |
+| network      | network           |
 
 
 Return to [database documentation](help/database)
index 622695a26f1ebf8f91a2dec039a58f81b17fd43a..0ad0981f0cf52c06b6d1258a17f3bb41a9eec0a4 100644 (file)
@@ -17,10 +17,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| priority | priority |
+| Name               | Fields                       |
+| ------------------ | ---------------------------- |
+| PRIMARY            | id                           |
+| priority           | priority                     |
 | hook_file_function | UNIQUE, hook, file, function |
 
 
index bccea5f8709abb1bcce255c93257e1a7a2fcfd1f..4b2d4d1e5df9035f5ce829f6202e1be04bdc9643 100644 (file)
@@ -14,10 +14,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| name | UNIQUE, name |
+| Name    | Fields       |
+| ------- | ------------ |
+| PRIMARY | id           |
+| name    | UNIQUE, name |
 
 
 Return to [database documentation](help/database)
index 7f6a5d5996d350b46cb6667aabc71ef1a0dde835..3b82cf46a0620521f3c995ebd24c8b0b6447a124 100644 (file)
@@ -19,9 +19,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | url |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | url    |
 
 
 Return to [database documentation](help/database)
index 5ea923fceffa06f4ea01fd117dbc72f22f4da1bc..426d8579ddb00cf181eb8a1ce5c2815d03c71025 100644 (file)
@@ -23,11 +23,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name       | Fields     |
+| ---------- | ---------- |
+| PRIMARY    | id         |
 | contact-id | contact-id |
-| uid | uid |
+| uid        | uid        |
 
 Foreign Keys
 ------------
index c49ef3813fa714fa28ee22fdad6ca2b72c5b4199..c6d1c4c3763378f5a79894f02c6faaff8ca3416c 100644 (file)
@@ -15,11 +15,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uri | UNIQUE, uri |
-| guid | guid |
+| Name    | Fields      |
+| ------- | ----------- |
+| PRIMARY | id          |
+| uri     | UNIQUE, uri |
+| guid    | guid        |
 
 
 Return to [database documentation](help/database)
index 821db5fee73e5cabb205b48830353fd969ade813..dc5371184dce15e9a9452d54bb789ffb1c6326fd 100644 (file)
@@ -17,9 +17,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name         | Fields        |
+| ------------ | ------------- |
+| PRIMARY      | id            |
 | name_expires | name, expires |
 
 
index 0558cff69af5218deac6bc831bbddc419458cf26..460c03bf6adb6a4947dd7d481344344e3dcb69b1 100644 (file)
@@ -34,18 +34,18 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid_seen | uid, seen |
-| convid | convid |
-| uri | uri(64) |
-| parent-uri | parent-uri(64) |
-| contactid | contact-id(32) |
-| author-id | author-id |
-| uri-id | uri-id |
-| parent-uri-id | parent-uri-id |
-| thr-parent-id | thr-parent-id |
+| Name          | Fields         |
+| ------------- | -------------- |
+| PRIMARY       | id             |
+| uid_seen      | uid, seen      |
+| convid        | convid         |
+| uri           | uri(64)        |
+| parent-uri    | parent-uri(64) |
+| contactid     | contact-id(32) |
+| author-id     | author-id      |
+| uri-id        | uri-id         |
+| parent-uri-id | parent-uri-id  |
+| thr-parent-id | thr-parent-id  |
 
 Foreign Keys
 ------------
index dba0fd9581cd1463de8c42315b0900f91a54693d..59f34250ce901b126e221e110a1f4875b98e4020 100644 (file)
@@ -25,10 +25,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
 
 Foreign Keys
 ------------
index ccfa7170df0c70a29d76111bc65c3a5950b65202..8a2228a5ef4c2f3804978d7a1dbca3c10265025d 100644 (file)
@@ -15,11 +15,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name    | Fields           |
+| ------- | ---------------- |
+| PRIMARY | id               |
 | uid_mid | UNIQUE, uid, mid |
-| mid | mid |
+| mid     | mid              |
 
 Foreign Keys
 ------------
index b5c0d7b1e3998ccc8a7efc38110b6cf6872e2b09..ff059c344fe720cb75e1357bb79df6c7dbbba465 100644 (file)
@@ -21,15 +21,15 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name                                | Fields                                          |
+| ----------------------------------- | ----------------------------------------------- |
+| PRIMARY                             | id                                              |
 | uid_vid_type_actor-id_target-uri-id | UNIQUE, uid, vid, type, actor-id, target-uri-id |
-| vid | vid |
-| actor-id | actor-id |
-| target-uri-id | target-uri-id |
-| parent-uri-id | parent-uri-id |
-| seen_uid | seen, uid |
+| vid                                 | vid                                             |
+| actor-id                            | actor-id                                        |
+| target-uri-id                       | target-uri-id                                   |
+| parent-uri-id                       | parent-uri-id                                   |
+| seen_uid                            | seen, uid                                       |
 
 Foreign Keys
 ------------
index 5a0157d844bb976b4257be0825f948a1f16a7a0e..82ed225f7dbefe4c64886c31111959249ddf2c52 100644 (file)
@@ -18,12 +18,12 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name                 | Fields               |
+| -------------------- | -------------------- |
+| PRIMARY              | id                   |
 | master-parent-uri-id | master-parent-uri-id |
-| receiver-uid | receiver-uid |
-| notify-id | notify-id |
+| receiver-uid         | receiver-uid         |
+| notify-id            | notify-id            |
 
 Foreign Keys
 ------------
index f1eb3588165947400d6940338a12ed7aa49b400b..250734e56cacd9a6c4a245d24bbbac0463ed6f7d 100644 (file)
@@ -30,14 +30,14 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| seen_uid_date | seen, uid, date |
-| uid_date | uid, date |
+| Name          | Fields               |
+| ------------- | -------------------- |
+| PRIMARY       | id                   |
+| seen_uid_date | seen, uid, date      |
+| uid_date      | uid, date            |
 | uid_type_link | uid, type, link(190) |
-| uri-id | uri-id |
-| parent-uri-id | parent-uri-id |
+| uri-id        | uri-id               |
+| parent-uri-id | parent-uri-id        |
 
 Foreign Keys
 ------------
index f3a6a0231997863b35390f44764942268657967d..8304a32f4b3a3509746f40508ac32be63ce7b949 100644 (file)
@@ -16,10 +16,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields        |
+| ------- | ------------- |
 | PRIMARY | url, maxwidth |
-| created | created |
+| created | created       |
 
 
 Return to [database documentation](help/database)
index 05313df6210fec96cd9986574a5d6178400c43ef..c330623d92319eaae3209123d8dd7716d315ee82 100644 (file)
@@ -18,10 +18,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
 
 Foreign Keys
 ------------
index 1bb40835787103233342f30d7c4e88e7e7259715..67ea5caebf69c404fe6b7558b34644f442cddeb1 100644 (file)
@@ -19,11 +19,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields                     |
+| ------- | -------------------------- |
 | PRIMARY | url_hash, guessing, oembed |
-| created | created |
-| expires | expires |
+| created | created                    |
+| expires | expires                    |
 
 
 Return to [database documentation](help/database)
index f1e031f2a0159b9a95d1c931040ead530a9d500a..cf9b0d7810f9a3520be13d4c4d5263870e7ebf7c 100644 (file)
@@ -17,9 +17,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name      | Fields              |
+| --------- | ------------------- |
+| PRIMARY   | id                  |
 | uid_cat_k | UNIQUE, uid, cat, k |
 
 Foreign Keys
index a9e2374292dca6f0212e284c44e4e96bd6af4b71..107cedea188be275ef9a6d5a34a4723cb3de4484 100644 (file)
@@ -18,9 +18,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name                                      | Fields                                                        |
+| ----------------------------------------- | ------------------------------------------------------------- |
+| PRIMARY                                   | id                                                            |
 | uid_allow_cid_allow_gid_deny_cid_deny_gid | uid, allow_cid(50), allow_gid(30), deny_cid(50), deny_gid(30) |
 
 Foreign Keys
index 964530d7ec4828adea3129f10b0cbd52d33b71e2..aad26bdbeb744a3f14ff16aefe12674b61e065b0 100644 (file)
@@ -39,15 +39,15 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| contactid | contact-id |
-| uid_contactid | uid, contact-id |
-| uid_profile | uid, profile |
-| uid_album_scale_created | uid, album(32), scale, created |
+| Name                          | Fields                               |
+| ----------------------------- | ------------------------------------ |
+| PRIMARY                       | id                                   |
+| contactid                     | contact-id                           |
+| uid_contactid                 | uid, contact-id                      |
+| uid_profile                   | uid, profile                         |
+| uid_album_scale_created       | uid, album(32), scale, created       |
 | uid_album_resource-id_created | uid, album(32), resource-id, created |
-| resource-id | resource-id |
+| resource-id                   | resource-id                          |
 
 Foreign Keys
 ------------
index 2d758905f37c4e8407d570183783623a85f3dbbe..b825a8f4b1e90fc28ad770bef87307df9e7415c2 100644 (file)
@@ -16,11 +16,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields                 |
+| ------- | ---------------------- |
 | PRIMARY | uri-id, uid, type, tid |
-| uri-id | tid |
-| uid | uid |
+| uri-id  | tid                    |
+| uid     | uid                    |
 
 Foreign Keys
 ------------
index 2e055d820b03fbd6a7031a972e1a4824d32e8811..0addf43a31d5f83e84e333754a6450e05aac4a43 100644 (file)
@@ -29,11 +29,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | uri-id |
-| plink | plink(191) |
-| resource-id | resource-id |
+| Name                       | Fields                                 |
+| -------------------------- | -------------------------------------- |
+| PRIMARY                    | uri-id                                 |
+| plink                      | plink(191)                             |
+| resource-id                | resource-id                            |
 | title-content-warning-body | FULLTEXT, title, content-warning, body |
 
 Foreign Keys
index f7273b5ef9bd85ec6a0f710d72ec2f42c5f421dd..ad4ca6af32b7f0f8dfc75af610b51650d10adcc3 100644 (file)
@@ -23,8 +23,8 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields |
+| ------- | ------ |
 | PRIMARY | uri-id |
 
 Foreign Keys
index a6c151d035126ddcc79a15eee87dd862ecd81829..e17a04e5fbb8d7421a4a414f070cdb3a0d982658 100644 (file)
@@ -31,9 +31,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name       | Fields              |
+| ---------- | ------------------- |
+| PRIMARY    | id                  |
 | uri-id-url | UNIQUE, uri-id, url |
 
 Foreign Keys
index 5d4caad221f6bdc8c497bef9bf5d32e47934b397..7811f32e07d8fae9e4978608fc70c6a1eaee8016 100644 (file)
@@ -16,11 +16,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields                 |
+| ------- | ---------------------- |
 | PRIMARY | uri-id, type, tid, cid |
-| tid | tid |
-| cid | cid |
+| tid     | tid                    |
+| cid     | cid                    |
 
 Foreign Keys
 ------------
index 9b6accc23d91de0b6757e0a1e68832378ececde4..3efb5a77af42aa4bd16607981c07a199bec84e2f 100644 (file)
@@ -35,23 +35,23 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | uid, uri-id |
-| uri-id | uri-id |
-| owner-id | owner-id |
-| author-id | author-id |
-| causer-id | causer-id |
-| uid | uid |
-| contact-id | contact-id |
-| psid | psid |
-| post-user-id | post-user-id |
-| commented | commented |
-| uid_received | uid, received |
-| uid_pinned | uid, pinned |
+| Name          | Fields         |
+| ------------- | -------------- |
+| PRIMARY       | uid, uri-id    |
+| uri-id        | uri-id         |
+| owner-id      | owner-id       |
+| author-id     | author-id      |
+| causer-id     | causer-id      |
+| uid           | uid            |
+| contact-id    | contact-id     |
+| psid          | psid           |
+| post-user-id  | post-user-id   |
+| commented     | commented      |
+| uid_received  | uid, received  |
+| uid_pinned    | uid, pinned    |
 | uid_commented | uid, commented |
-| uid_starred | uid, starred |
-| uid_mention | uid, mention |
+| uid_starred   | uid, starred   |
+| uid_mention   | uid, mention   |
 
 Foreign Keys
 ------------
index c13be54ba43332f79092a1c2100eb693d28a288b..96fd0d42756e3bc7774c07ebe0d99f9c719e5ada 100644 (file)
@@ -21,13 +21,13 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | uri-id |
-| owner-id | owner-id |
+| Name      | Fields    |
+| --------- | --------- |
+| PRIMARY   | uri-id    |
+| owner-id  | owner-id  |
 | author-id | author-id |
 | causer-id | causer-id |
-| received | received |
+| received  | received  |
 | commented | commented |
 
 Foreign Keys
index db024b621d8a8a0468099ecf511d04b1783a5c94..36edd4a289b590296d56c47cdf776dab67609a95 100644 (file)
@@ -15,10 +15,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields      |
+| ------- | ----------- |
 | PRIMARY | uid, uri-id |
-| uri-id | uri-id |
+| uri-id  | uri-id      |
 
 Foreign Keys
 ------------
index a3b30c9b144bd40f1e13e1384b95300c82c8f6d9..5fbc3e985af726881d5af8b6346642ad090ebd69 100644 (file)
@@ -42,28 +42,28 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid_uri-id | UNIQUE, uid, uri-id |
-| uri-id | uri-id |
-| parent-uri-id | parent-uri-id |
-| thr-parent-id | thr-parent-id |
-| external-id | external-id |
-| owner-id | owner-id |
-| author-id | author-id |
-| causer-id | causer-id |
-| vid | vid |
-| contact-id | contact-id |
-| event-id | event-id |
-| psid | psid |
-| author-id_uid | author-id, uid |
-| author-id_received | author-id, received |
-| parent-uri-id_uid | parent-uri-id, uid |
-| uid_contactid | uid, contact-id |
+| Name                 | Fields                  |
+| -------------------- | ----------------------- |
+| PRIMARY              | id                      |
+| uid_uri-id           | UNIQUE, uid, uri-id     |
+| uri-id               | uri-id                  |
+| parent-uri-id        | parent-uri-id           |
+| thr-parent-id        | thr-parent-id           |
+| external-id          | external-id             |
+| owner-id             | owner-id                |
+| author-id            | author-id               |
+| causer-id            | causer-id               |
+| vid                  | vid                     |
+| contact-id           | contact-id              |
+| event-id             | event-id                |
+| psid                 | psid                    |
+| author-id_uid        | author-id, uid          |
+| author-id_received   | author-id, received     |
+| parent-uri-id_uid    | parent-uri-id, uid      |
+| uid_contactid        | uid, contact-id         |
 | uid_unseen_contactid | uid, unseen, contact-id |
-| uid_unseen | uid, unseen |
-| uid_hidden_uri-id | uid, hidden, uri-id |
+| uid_unseen           | uid, unseen             |
+| uid_hidden_uri-id    | uid, hidden, uri-id     |
 
 Foreign Keys
 ------------
index 8d7410052327e0e03c41606d270fb3e67c372710..303269b1c6342196b46a18f34e980bc96714c841 100644 (file)
@@ -30,16 +30,16 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | uri-id |
+| Name          | Fields        |
+| ------------- | ------------- |
+| PRIMARY       | uri-id        |
 | parent-uri-id | parent-uri-id |
 | thr-parent-id | thr-parent-id |
-| external-id | external-id |
-| owner-id | owner-id |
-| author-id | author-id |
-| causer-id | causer-id |
-| vid | vid |
+| external-id   | external-id   |
+| owner-id      | owner-id      |
+| author-id     | author-id     |
+| causer-id     | causer-id     |
+| vid           | vid           |
 
 Foreign Keys
 ------------
index fb76d998ef179e8c498a0871d82453dd71459f5d..062e6ff22cc364a10ab0064b9cdb2fb93d334cf4 100644 (file)
@@ -15,9 +15,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | pid |
+| Name    | Fields  |
+| ------- | ------- |
+| PRIMARY | pid     |
 | command | command |
 
 
index d0bbcb6d2ee1d641bd6c03c43f11f0705d0374e8..4ea3b56003793e1529594b8645fc5dc5e8825dd0 100644 (file)
@@ -54,11 +54,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid_is-default | uid, is-default |
-| pub_keywords | FULLTEXT, pub_keywords |
+| Name           | Fields                 |
+| -------------- | ---------------------- |
+| PRIMARY        | id                     |
+| uid_is-default | uid, is-default        |
+| pub_keywords   | FULLTEXT, pub_keywords |
 
 Foreign Keys
 ------------
index 96931618ca4baba27f660a4c4e222e72fa79fdf2..4049bd6048001472023886cd2cbb6fffd9ff9747 100644 (file)
@@ -18,11 +18,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
-| cid | cid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
+| cid     | cid    |
 
 Foreign Keys
 ------------
index e2fbad30311d44e2222b766ee1be5da21a75de50..56e8e3d0b6623b6aaebe12499f235bcbdcec006f 100644 (file)
@@ -20,12 +20,12 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
-| order | order |
-| psid | psid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
+| order   | order  |
+| psid    | psid   |
 
 Foreign Keys
 ------------
index ffcf56f888ba4a386ba4bd393799919845358d96..4ba50a4d1d4089eff513d4c0588062eb818f012d 100644 (file)
@@ -22,11 +22,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name     | Fields   |
+| -------- | -------- |
+| PRIMARY  | id       |
 | next_try | next_try |
-| uid | uid |
+| uid      | uid      |
 
 Foreign Keys
 ------------
index 2367b9d9fbaddd301b6da3b52b8c9ec476a8de22..8ace3c199bb883cd0d6c72c5cb5d3bb40f12c812 100644 (file)
@@ -19,10 +19,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| uid | uid |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
 
 Foreign Keys
 ------------
index 42c179a0461e20c3edbf0688ebdff4221a917b9c..157d09ecb85ae2e440498f4cd8540f7bedcf84c1 100644 (file)
@@ -15,11 +15,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name     | Fields        |
+| -------- | ------------- |
+| PRIMARY  | id            |
 | uid_term | uid, term(64) |
-| term | term(64) |
+| term     | term(64)      |
 
 Foreign Keys
 ------------
index 775088c0aa77e481d4aecbfb90c791b0b9a09455..794e49c6a78f86780e19c7af36c68cd1b69f22cd 100644 (file)
@@ -16,11 +16,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| sid | sid(64) |
-| expire | expire |
+| Name    | Fields  |
+| ------- | ------- |
+| PRIMARY | id      |
+| sid     | sid(64) |
+| expire  | expire  |
 
 
 Return to [database documentation](help/database)
index 9c8495967f67403bf3e3a2647e704fb40f7ab279..55911e28a6bbe8d0b8e7e4e13ba363045a1f7f1e 100644 (file)
@@ -14,9 +14,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
 
 
 Return to [database documentation](help/database)
index a7c47e9fc10660e70e0f824ca46b39d679d38eb1..8c742917a748061e171a9f6ae3a7e6d5ad3aff37 100644 (file)
@@ -15,11 +15,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name          | Fields            |
+| ------------- | ----------------- |
+| PRIMARY       | id                |
 | type_name_url | UNIQUE, name, url |
-| url | url |
+| url           | url               |
 
 
 Return to [database documentation](help/database)
index 3620f5fb5e1bee99087ab3f38badb5064c9c6e52..7cf9bba4ccc4a21f3dee20c31ca351205e0e8b43 100644 (file)
@@ -18,11 +18,11 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name      | Fields    |
+| --------- | --------- |
+| PRIMARY   | id        |
 | client_id | client_id |
-| uid | uid |
+| uid       | uid       |
 
 Foreign Keys
 ------------
index 69adc0c6b19fcd6e043f9910de9995b7b455db82..35d140cfff802ac018d575c03c063230b7615ce6 100644 (file)
@@ -17,10 +17,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
+| Name    | Fields   |
+| ------- | -------- |
 | PRIMARY | uid, cid |
-| cid | cid |
+| cid     | cid      |
 
 Foreign Keys
 ------------
index a2f9d931de5824a292d4cfae2e15ac7d067aec3e..611fb76b05f4f52c32cc3c14d8d354fe95646772 100644 (file)
@@ -57,13 +57,13 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | uid |
-| nickname | nickname(32) |
-| parent-uid | parent-uid |
-| guid | guid |
-| email | email(64) |
+| Name       | Fields       |
+| ---------- | ------------ |
+| PRIMARY    | uid          |
+| nickname   | nickname(32) |
+| parent-uid | parent-uid   |
+| guid       | guid         |
+| email      | email(64)    |
 
 Foreign Keys
 ------------
index 7fce9ce9ab1a3de25a0f241d1814e6cedf025e27..17a81b408a8f18a898cbc232fb0c81fddf976d92 100644 (file)
@@ -14,9 +14,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
+| Name     | Fields       |
+| -------- | ------------ |
+| PRIMARY  | id           |
 | username | username(32) |
 
 
index 887f5fc4e8113bd3919c66f2ce3af5c68703c5fe..43507053b2546232fcec0099cb96d218c1dcac47 100644 (file)
@@ -14,10 +14,10 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| name | name |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| name    | name   |
 
 
 Return to [database documentation](help/database)
index be9a07d0f7410aa57702ad1688bac0a1d417e3fc..1635981d703e04ccb0f455e6555bbbce08c40a49 100644 (file)
@@ -14,9 +14,9 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | key |
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | key    |
 
 
 Return to [database documentation](help/database)
index 81596192c6ac531f0096f8c059557d967e356e9d..a479ecbcaa22ee7dc54881db0b8fcf0a231868ec 100644 (file)
@@ -22,17 +22,17 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
-| PRIMARY | id |
-| command | command |
-| done_command_parameter | done, command, parameter(64) |
-| done_executed | done, executed |
+| Name                          | Fields                           |
+| ----------------------------- | -------------------------------- |
+| PRIMARY                       | id                               |
+| command                       | command                          |
+| done_command_parameter        | done, command, parameter(64)     |
+| done_executed                 | done, executed                   |
 | done_priority_retrial_created | done, priority, retrial, created |
-| done_priority_next_try | done, priority, next_try |
-| done_pid_next_try | done, pid, next_try |
-| done_pid_retrial | done, pid, retrial |
-| done_pid_priority_created | done, pid, priority, created |
+| done_priority_next_try        | done, priority, next_try         |
+| done_pid_next_try             | done, pid, next_try              |
+| done_pid_retrial              | done, pid, retrial               |
+| done_pid_priority_created     | done, pid, priority, created     |
 
 
 Return to [database documentation](help/database)
index 864f2ded3f19cedbe1f62e9b7ee459830b07121f..9af6100a0ac319b37992f967f6d5acbb9b3ca131 100644 (file)
@@ -166,11 +166,28 @@ class DBStructure
 
                $tables = [];
                foreach (self::definition(null) as $name => $definition) {
-                       $indexes = [];
+                       $indexes  = [[
+                               'name'   => 'Name',
+                               'fields' => 'Fields',
+                       ],
+                       [
+                               'name'   => '-',
+                               'fields' => '-',
+                       ]];
+
+                       $lengths = ['name' => 4, 'fields' => 6];
                        foreach ($definition['indexes'] as $key => $value) {
-                               $indexes[] = ['name' => $key, 'fields' => implode(', ', $value)];
+                               $fieldlist = implode(', ', $value);
+                               $indexes[] = ['name' => $key, 'fields' => $fieldlist];
+                               $lengths['name']   = max($lengths['name'], strlen($key));
+                               $lengths['fields'] = max($lengths['fields'], strlen($fieldlist));
                        }
 
+                       array_walk_recursive($indexes, function(&$value, $key) use ($lengths)
+                       {
+                               $value = str_pad($value, $lengths[$key], $value === '-' ? '-' : ' ');
+                       });
+
                        $foreign = [];
                        $fields  = [[
                                'name'    => 'Field',
index 77ee1e85ad303a441baddedf84632e70edb81ffe..954712f12ab5024483fae0ed7705ffdc711642d7 100644 (file)
@@ -13,8 +13,6 @@ Fields
 Indexes
 ------------
 
-| Name | Fields |
-|------|--------|
 {{foreach $indexes as $index}}
 | {{$index.name}} | {{$index.fields}} |
 {{/foreach}}