]> git.mxchange.org Git - friendica.git/blobdiff - doc/database/db_register.md
developer intro the ! was missing in the #!
[friendica.git] / doc / database / db_register.md
index fac22811d4b65e30e78c36b63fd3969d2cdb4e18..8ace3c199bb883cd0d6c72c5cb5d3bb40f12c812 100644 (file)
@@ -3,6 +3,9 @@ Table register
 
 registrations requiring admin approval
 
+Fields
+------
+
 | Field    | Description   | Type               | Null | Key | Default             | Extra          |
 | -------- | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |
 | id       | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |
@@ -13,4 +16,19 @@ registrations requiring admin approval
 | language |               | varchar(16)        | NO   |     |                     |                |
 | note     |               | text               | YES  |     | NULL                |                |
 
+Indexes
+------------
+
+| Name    | Fields |
+| ------- | ------ |
+| PRIMARY | id     |
+| uid     | uid    |
+
+Foreign Keys
+------------
+
+| Field | Target Table | Target Field |
+|-------|--------------|--------------|
+| uid | [user](help/database/db_user) | uid |
+
 Return to [database documentation](help/database)