]> git.mxchange.org Git - friendica.git/blob - doc/database/db_register.md
Merge pull request #11979 from annando/issue-11853
[friendica.git] / doc / database / db_register.md
1 Table register
2 ===========
3
4 registrations requiring admin approval
5
6 Fields
7 ------
8
9 | Field    | Description   | Type               | Null | Key | Default             | Extra          |
10 | -------- | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |
11 | id       | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |
12 | hash     |               | varbinary(255)     | NO   |     |                     |                |
13 | created  |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
14 | uid      | User id       | mediumint unsigned | NO   |     | 0                   |                |
15 | password |               | varchar(255)       | NO   |     |                     |                |
16 | language |               | varchar(16)        | NO   |     |                     |                |
17 | note     |               | text               | YES  |     | NULL                |                |
18
19 Indexes
20 ------------
21
22 | Name    | Fields |
23 | ------- | ------ |
24 | PRIMARY | id     |
25 | uid     | uid    |
26
27 Foreign Keys
28 ------------
29
30 | Field | Target Table | Target Field |
31 |-------|--------------|--------------|
32 | uid | [user](help/database/db_user) | uid |
33
34 Return to [database documentation](help/database)