Formatted index list
This commit is contained in:
parent
3d74d0a49c
commit
7106106f11
73 changed files with 375 additions and 360 deletions
|
@ -18,9 +18,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------------- | --------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_description | uid, description(190) |
|
| uid_description | uid, description(190) |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -16,8 +16,8 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | --------- |
|
||||||
| PRIMARY | uid, code |
|
| PRIMARY | uid, code |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -17,10 +17,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ----------- |
|
||||||
| PRIMARY | cookie_hash |
|
| PRIMARY | cookie_hash |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -19,11 +19,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------------- | --------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| installed_name | installed, name |
|
| installed_name | installed, name |
|
||||||
| name | UNIQUE, name |
|
| name | UNIQUE, name |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -36,15 +36,15 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ----------- | ---------------- |
|
||||||
| PRIMARY | url |
|
| PRIMARY | url |
|
||||||
| addr | addr(32) |
|
| addr | addr(32) |
|
||||||
| alias | alias(190) |
|
| alias | alias(190) |
|
||||||
| followers | followers(190) |
|
| followers | followers(190) |
|
||||||
| baseurl | baseurl(190) |
|
| baseurl | baseurl(190) |
|
||||||
| sharedinbox | sharedinbox(190) |
|
| sharedinbox | sharedinbox(190) |
|
||||||
| gsid | gsid |
|
| gsid | gsid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -22,10 +22,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------------------- |
|
||||||
| PRIMARY | application-id, uid |
|
| PRIMARY | application-id, uid |
|
||||||
| uid_id | uid, application-id |
|
| uid_id | uid, application-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -23,9 +23,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------- | ----------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| client_id | UNIQUE, client_id |
|
| client_id | UNIQUE, client_id |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,10 +27,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -17,9 +17,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------- | --------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| client_id | client_id |
|
| client_id | client_id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -16,9 +16,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------- | ---------- |
|
||||||
| PRIMARY | k |
|
| PRIMARY | k |
|
||||||
| k_expires | k, expires |
|
| k_expires | k, expires |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,10 +18,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| expire | expire |
|
| expire | expire |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -18,10 +18,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | --------- |
|
||||||
| PRIMARY | client_id |
|
| PRIMARY | client_id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -16,10 +16,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | -------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| cat_k | UNIQUE, cat, k |
|
| cat_k | UNIQUE, cat, k |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -17,10 +17,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------ | ----------------- |
|
||||||
| PRIMARY | cid, relation-cid |
|
| PRIMARY | cid, relation-cid |
|
||||||
| relation-cid | relation-cid |
|
| relation-cid | relation-cid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -92,31 +92,31 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------------------------- | ------------------------------------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_name | uid, name(190) |
|
| uid_name | uid, name(190) |
|
||||||
| self_uid | self, uid |
|
| self_uid | self, uid |
|
||||||
| alias_uid | alias(128), uid |
|
| alias_uid | alias(128), uid |
|
||||||
| pending_uid | pending, uid |
|
| pending_uid | pending, uid |
|
||||||
| blocked_uid | blocked, uid |
|
| blocked_uid | blocked, uid |
|
||||||
| uid_rel_network_poll | uid, rel, network, poll(64), archive |
|
| uid_rel_network_poll | uid, rel, network, poll(64), archive |
|
||||||
| uid_network_batch | uid, network, batch(64) |
|
| uid_network_batch | uid, network, batch(64) |
|
||||||
| batch_contact-type | batch(64), contact-type |
|
| batch_contact-type | batch(64), contact-type |
|
||||||
| addr_uid | addr(128), uid |
|
| addr_uid | addr(128), uid |
|
||||||
| nurl_uid | nurl(128), uid |
|
| nurl_uid | nurl(128), uid |
|
||||||
| nick_uid | nick(128), uid |
|
| nick_uid | nick(128), uid |
|
||||||
| attag_uid | attag(96), uid |
|
| attag_uid | attag(96), uid |
|
||||||
| dfrn-id | dfrn-id(64) |
|
| dfrn-id | dfrn-id(64) |
|
||||||
| issued-id | issued-id(64) |
|
| issued-id | issued-id(64) |
|
||||||
| network_uid_lastupdate | network, uid, last-update |
|
| network_uid_lastupdate | network, uid, last-update |
|
||||||
| uid_network_self_lastupdate | uid, network, self, last-update |
|
| uid_network_self_lastupdate | uid, network, self, last-update |
|
||||||
| uid_lastitem | uid, last-item |
|
| uid_lastitem | uid, last-item |
|
||||||
| baseurl | baseurl(64) |
|
| baseurl | baseurl(64) |
|
||||||
| uid_contact-type | uid, contact-type |
|
| uid_contact-type | uid, contact-type |
|
||||||
| uid_self_contact-type | uid, self, contact-type |
|
| uid_self_contact-type | uid, self, contact-type |
|
||||||
| self_network_uid | self, network, uid |
|
| self_network_uid | self, network, uid |
|
||||||
| gsid | gsid |
|
| gsid | gsid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -20,10 +20,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -20,11 +20,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ---------------- | ---------------- |
|
||||||
| PRIMARY | item-uri |
|
| PRIMARY | item-uri |
|
||||||
| conversation-uri | conversation-uri |
|
| conversation-uri | conversation-uri |
|
||||||
| received | received |
|
| received | received |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -16,9 +16,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | --------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_uri | UNIQUE, uid, uri(190) |
|
| uid_uri | UNIQUE, uid, uri(190) |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -14,8 +14,8 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | uri-id |
|
| PRIMARY | uri-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -32,11 +32,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------- | ---------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_start | uid, start |
|
| uid_start | uid, start |
|
||||||
| cid | cid |
|
| cid | cid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -29,11 +29,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ---------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| addr | addr(32) |
|
| addr | addr(32) |
|
||||||
| url | UNIQUE, url(190) |
|
| url | UNIQUE, url(190) |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -21,11 +21,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| cid | cid |
|
| cid | cid |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -17,10 +17,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -15,10 +15,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------- | ----------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| contactid | contact-id |
|
| contactid | contact-id |
|
||||||
| gid_contactid | UNIQUE, gid, contact-id |
|
| gid_contactid | UNIQUE, gid, contact-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -14,10 +14,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | --------------- |
|
||||||
| PRIMARY | gserver-id, tag |
|
| PRIMARY | gserver-id, tag |
|
||||||
| tag | tag |
|
| tag | tag |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -35,12 +35,12 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------ | ----------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| nurl | UNIQUE, nurl(190) |
|
| nurl | UNIQUE, nurl(190) |
|
||||||
| next_contact | next_contact |
|
| next_contact | next_contact |
|
||||||
| network | network |
|
| network | network |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -17,10 +17,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------------ | ---------------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| priority | priority |
|
| priority | priority |
|
||||||
| hook_file_function | UNIQUE, hook, file, function |
|
| hook_file_function | UNIQUE, hook, file, function |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| name | UNIQUE, name |
|
| name | UNIQUE, name |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -19,9 +19,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | url |
|
| PRIMARY | url |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -23,11 +23,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ---------- | ---------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| contact-id | contact-id |
|
| contact-id | contact-id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -15,11 +15,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ----------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uri | UNIQUE, uri |
|
| uri | UNIQUE, uri |
|
||||||
| guid | guid |
|
| guid | guid |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -17,9 +17,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------ | ------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| name_expires | name, expires |
|
| name_expires | name, expires |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -34,18 +34,18 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------- | -------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_seen | uid, seen |
|
| uid_seen | uid, seen |
|
||||||
| convid | convid |
|
| convid | convid |
|
||||||
| uri | uri(64) |
|
| uri | uri(64) |
|
||||||
| parent-uri | parent-uri(64) |
|
| parent-uri | parent-uri(64) |
|
||||||
| contactid | contact-id(32) |
|
| contactid | contact-id(32) |
|
||||||
| author-id | author-id |
|
| author-id | author-id |
|
||||||
| uri-id | uri-id |
|
| uri-id | uri-id |
|
||||||
| parent-uri-id | parent-uri-id |
|
| parent-uri-id | parent-uri-id |
|
||||||
| thr-parent-id | thr-parent-id |
|
| thr-parent-id | thr-parent-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -25,10 +25,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -15,11 +15,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ---------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_mid | UNIQUE, uid, mid |
|
| uid_mid | UNIQUE, uid, mid |
|
||||||
| mid | mid |
|
| mid | mid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -21,15 +21,15 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ----------------------------------- | ----------------------------------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_vid_type_actor-id_target-uri-id | UNIQUE, uid, vid, type, actor-id, target-uri-id |
|
| uid_vid_type_actor-id_target-uri-id | UNIQUE, uid, vid, type, actor-id, target-uri-id |
|
||||||
| vid | vid |
|
| vid | vid |
|
||||||
| actor-id | actor-id |
|
| actor-id | actor-id |
|
||||||
| target-uri-id | target-uri-id |
|
| target-uri-id | target-uri-id |
|
||||||
| parent-uri-id | parent-uri-id |
|
| parent-uri-id | parent-uri-id |
|
||||||
| seen_uid | seen, uid |
|
| seen_uid | seen, uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -18,12 +18,12 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------------------- | -------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| master-parent-uri-id | master-parent-uri-id |
|
| master-parent-uri-id | master-parent-uri-id |
|
||||||
| receiver-uid | receiver-uid |
|
| receiver-uid | receiver-uid |
|
||||||
| notify-id | notify-id |
|
| notify-id | notify-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -30,14 +30,14 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------- | -------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| seen_uid_date | seen, uid, date |
|
| seen_uid_date | seen, uid, date |
|
||||||
| uid_date | uid, date |
|
| uid_date | uid, date |
|
||||||
| uid_type_link | uid, type, link(190) |
|
| uid_type_link | uid, type, link(190) |
|
||||||
| uri-id | uri-id |
|
| uri-id | uri-id |
|
||||||
| parent-uri-id | parent-uri-id |
|
| parent-uri-id | parent-uri-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -16,10 +16,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------------- |
|
||||||
| PRIMARY | url, maxwidth |
|
| PRIMARY | url, maxwidth |
|
||||||
| created | created |
|
| created | created |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -18,10 +18,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -19,11 +19,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | -------------------------- |
|
||||||
| PRIMARY | url_hash, guessing, oembed |
|
| PRIMARY | url_hash, guessing, oembed |
|
||||||
| created | created |
|
| created | created |
|
||||||
| expires | expires |
|
| expires | expires |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -17,9 +17,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------- | ------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_cat_k | UNIQUE, uid, cat, k |
|
| uid_cat_k | UNIQUE, uid, cat, k |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -18,9 +18,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ----------------------------------------- | ------------------------------------------------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_allow_cid_allow_gid_deny_cid_deny_gid | uid, allow_cid(50), allow_gid(30), deny_cid(50), deny_gid(30) |
|
| uid_allow_cid_allow_gid_deny_cid_deny_gid | uid, allow_cid(50), allow_gid(30), deny_cid(50), deny_gid(30) |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -39,15 +39,15 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ----------------------------- | ------------------------------------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| contactid | contact-id |
|
| contactid | contact-id |
|
||||||
| uid_contactid | uid, contact-id |
|
| uid_contactid | uid, contact-id |
|
||||||
| uid_profile | uid, profile |
|
| uid_profile | uid, profile |
|
||||||
| uid_album_scale_created | uid, album(32), scale, created |
|
| uid_album_scale_created | uid, album(32), scale, created |
|
||||||
| uid_album_resource-id_created | uid, album(32), resource-id, created |
|
| uid_album_resource-id_created | uid, album(32), resource-id, created |
|
||||||
| resource-id | resource-id |
|
| resource-id | resource-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -16,11 +16,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ---------------------- |
|
||||||
| PRIMARY | uri-id, uid, type, tid |
|
| PRIMARY | uri-id, uid, type, tid |
|
||||||
| uri-id | tid |
|
| uri-id | tid |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -29,11 +29,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------------------------- | -------------------------------------- |
|
||||||
| PRIMARY | uri-id |
|
| PRIMARY | uri-id |
|
||||||
| plink | plink(191) |
|
| plink | plink(191) |
|
||||||
| resource-id | resource-id |
|
| resource-id | resource-id |
|
||||||
| title-content-warning-body | FULLTEXT, title, content-warning, body |
|
| title-content-warning-body | FULLTEXT, title, content-warning, body |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -23,8 +23,8 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | uri-id |
|
| PRIMARY | uri-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -31,9 +31,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ---------- | ------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uri-id-url | UNIQUE, uri-id, url |
|
| uri-id-url | UNIQUE, uri-id, url |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -16,11 +16,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ---------------------- |
|
||||||
| PRIMARY | uri-id, type, tid, cid |
|
| PRIMARY | uri-id, type, tid, cid |
|
||||||
| tid | tid |
|
| tid | tid |
|
||||||
| cid | cid |
|
| cid | cid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -35,23 +35,23 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------- | -------------- |
|
||||||
| PRIMARY | uid, uri-id |
|
| PRIMARY | uid, uri-id |
|
||||||
| uri-id | uri-id |
|
| uri-id | uri-id |
|
||||||
| owner-id | owner-id |
|
| owner-id | owner-id |
|
||||||
| author-id | author-id |
|
| author-id | author-id |
|
||||||
| causer-id | causer-id |
|
| causer-id | causer-id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
| contact-id | contact-id |
|
| contact-id | contact-id |
|
||||||
| psid | psid |
|
| psid | psid |
|
||||||
| post-user-id | post-user-id |
|
| post-user-id | post-user-id |
|
||||||
| commented | commented |
|
| commented | commented |
|
||||||
| uid_received | uid, received |
|
| uid_received | uid, received |
|
||||||
| uid_pinned | uid, pinned |
|
| uid_pinned | uid, pinned |
|
||||||
| uid_commented | uid, commented |
|
| uid_commented | uid, commented |
|
||||||
| uid_starred | uid, starred |
|
| uid_starred | uid, starred |
|
||||||
| uid_mention | uid, mention |
|
| uid_mention | uid, mention |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -21,13 +21,13 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------- | --------- |
|
||||||
| PRIMARY | uri-id |
|
| PRIMARY | uri-id |
|
||||||
| owner-id | owner-id |
|
| owner-id | owner-id |
|
||||||
| author-id | author-id |
|
| author-id | author-id |
|
||||||
| causer-id | causer-id |
|
| causer-id | causer-id |
|
||||||
| received | received |
|
| received | received |
|
||||||
| commented | commented |
|
| commented | commented |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
|
|
|
@ -15,10 +15,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ----------- |
|
||||||
| PRIMARY | uid, uri-id |
|
| PRIMARY | uid, uri-id |
|
||||||
| uri-id | uri-id |
|
| uri-id | uri-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -42,28 +42,28 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------------------- | ----------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_uri-id | UNIQUE, uid, uri-id |
|
| uid_uri-id | UNIQUE, uid, uri-id |
|
||||||
| uri-id | uri-id |
|
| uri-id | uri-id |
|
||||||
| parent-uri-id | parent-uri-id |
|
| parent-uri-id | parent-uri-id |
|
||||||
| thr-parent-id | thr-parent-id |
|
| thr-parent-id | thr-parent-id |
|
||||||
| external-id | external-id |
|
| external-id | external-id |
|
||||||
| owner-id | owner-id |
|
| owner-id | owner-id |
|
||||||
| author-id | author-id |
|
| author-id | author-id |
|
||||||
| causer-id | causer-id |
|
| causer-id | causer-id |
|
||||||
| vid | vid |
|
| vid | vid |
|
||||||
| contact-id | contact-id |
|
| contact-id | contact-id |
|
||||||
| event-id | event-id |
|
| event-id | event-id |
|
||||||
| psid | psid |
|
| psid | psid |
|
||||||
| author-id_uid | author-id, uid |
|
| author-id_uid | author-id, uid |
|
||||||
| author-id_received | author-id, received |
|
| author-id_received | author-id, received |
|
||||||
| parent-uri-id_uid | parent-uri-id, uid |
|
| parent-uri-id_uid | parent-uri-id, uid |
|
||||||
| uid_contactid | uid, contact-id |
|
| uid_contactid | uid, contact-id |
|
||||||
| uid_unseen_contactid | uid, unseen, contact-id |
|
| uid_unseen_contactid | uid, unseen, contact-id |
|
||||||
| uid_unseen | uid, unseen |
|
| uid_unseen | uid, unseen |
|
||||||
| uid_hidden_uri-id | uid, hidden, uri-id |
|
| uid_hidden_uri-id | uid, hidden, uri-id |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -30,16 +30,16 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------- | ------------- |
|
||||||
| PRIMARY | uri-id |
|
| PRIMARY | uri-id |
|
||||||
| parent-uri-id | parent-uri-id |
|
| parent-uri-id | parent-uri-id |
|
||||||
| thr-parent-id | thr-parent-id |
|
| thr-parent-id | thr-parent-id |
|
||||||
| external-id | external-id |
|
| external-id | external-id |
|
||||||
| owner-id | owner-id |
|
| owner-id | owner-id |
|
||||||
| author-id | author-id |
|
| author-id | author-id |
|
||||||
| causer-id | causer-id |
|
| causer-id | causer-id |
|
||||||
| vid | vid |
|
| vid | vid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -15,9 +15,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------- |
|
||||||
| PRIMARY | pid |
|
| PRIMARY | pid |
|
||||||
| command | command |
|
| command | command |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -54,11 +54,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------------- | ---------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_is-default | uid, is-default |
|
| uid_is-default | uid, is-default |
|
||||||
| pub_keywords | FULLTEXT, pub_keywords |
|
| pub_keywords | FULLTEXT, pub_keywords |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -18,11 +18,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
| cid | cid |
|
| cid | cid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -20,12 +20,12 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
| order | order |
|
| order | order |
|
||||||
| psid | psid |
|
| psid | psid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -22,11 +22,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------- | -------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| next_try | next_try |
|
| next_try | next_try |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -19,10 +19,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -15,11 +15,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------- | ------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| uid_term | uid, term(64) |
|
| uid_term | uid, term(64) |
|
||||||
| term | term(64) |
|
| term | term(64) |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -16,11 +16,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| sid | sid(64) |
|
| sid | sid(64) |
|
||||||
| expire | expire |
|
| expire | expire |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -14,9 +14,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -15,11 +15,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------------- | ----------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| type_name_url | UNIQUE, name, url |
|
| type_name_url | UNIQUE, name, url |
|
||||||
| url | url |
|
| url | url |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -18,11 +18,11 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| --------- | --------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| client_id | client_id |
|
| client_id | client_id |
|
||||||
| uid | uid |
|
| uid | uid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -17,10 +17,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | -------- |
|
||||||
| PRIMARY | uid, cid |
|
| PRIMARY | uid, cid |
|
||||||
| cid | cid |
|
| cid | cid |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -57,13 +57,13 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ---------- | ------------ |
|
||||||
| PRIMARY | uid |
|
| PRIMARY | uid |
|
||||||
| nickname | nickname(32) |
|
| nickname | nickname(32) |
|
||||||
| parent-uid | parent-uid |
|
| parent-uid | parent-uid |
|
||||||
| guid | guid |
|
| guid | guid |
|
||||||
| email | email(64) |
|
| email | email(64) |
|
||||||
|
|
||||||
Foreign Keys
|
Foreign Keys
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -14,9 +14,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| -------- | ------------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| username | username(32) |
|
| username | username(32) |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,10 +14,10 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| name | name |
|
| name | name |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -14,9 +14,9 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ------- | ------ |
|
||||||
| PRIMARY | key |
|
| PRIMARY | key |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -22,17 +22,17 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
| Name | Fields |
|
||||||
|------|--------|
|
| ----------------------------- | -------------------------------- |
|
||||||
| PRIMARY | id |
|
| PRIMARY | id |
|
||||||
| command | command |
|
| command | command |
|
||||||
| done_command_parameter | done, command, parameter(64) |
|
| done_command_parameter | done, command, parameter(64) |
|
||||||
| done_executed | done, executed |
|
| done_executed | done, executed |
|
||||||
| done_priority_retrial_created | done, priority, retrial, created |
|
| done_priority_retrial_created | done, priority, retrial, created |
|
||||||
| done_priority_next_try | done, priority, next_try |
|
| done_priority_next_try | done, priority, next_try |
|
||||||
| done_pid_next_try | done, pid, next_try |
|
| done_pid_next_try | done, pid, next_try |
|
||||||
| done_pid_retrial | done, pid, retrial |
|
| done_pid_retrial | done, pid, retrial |
|
||||||
| done_pid_priority_created | done, pid, priority, created |
|
| done_pid_priority_created | done, pid, priority, created |
|
||||||
|
|
||||||
|
|
||||||
Return to [database documentation](help/database)
|
Return to [database documentation](help/database)
|
||||||
|
|
|
@ -166,11 +166,28 @@ class DBStructure
|
||||||
|
|
||||||
$tables = [];
|
$tables = [];
|
||||||
foreach (self::definition(null) as $name => $definition) {
|
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) {
|
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 = [];
|
$foreign = [];
|
||||||
$fields = [[
|
$fields = [[
|
||||||
'name' => 'Field',
|
'name' => 'Field',
|
||||||
|
|
|
@ -13,8 +13,6 @@ Fields
|
||||||
Indexes
|
Indexes
|
||||||
------------
|
------------
|
||||||
|
|
||||||
| Name | Fields |
|
|
||||||
|------|--------|
|
|
||||||
{{foreach $indexes as $index}}
|
{{foreach $indexes as $index}}
|
||||||
| {{$index.name}} | {{$index.fields}} |
|
| {{$index.name}} | {{$index.fields}} |
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
Loading…
Reference in a new issue