]> git.mxchange.org Git - friendica.git/blob - doc/database/db_intro.md
Trailing whitespace removed
[friendica.git] / doc / database / db_intro.md
1 Table intro
2 ===========
3
4
5
6 | Field      | Description   | Type               | Null | Key | Default             | Extra          |
7 | ---------- | ------------- | ------------------ | ---- | --- | ------------------- | -------------- |
8 | id         | sequential ID | int unsigned       | NO   | PRI | NULL                | auto_increment |
9 | uid        | User id       | mediumint unsigned | NO   |     | 0                   |                |
10 | fid        |               | int unsigned       | YES  |     | NULL                |                |
11 | contact-id |               | int unsigned       | NO   |     | 0                   |                |
12 | knowyou    |               | boolean            | NO   |     | 0                   |                |
13 | duplex     |               | boolean            | NO   |     | 0                   |                |
14 | note       |               | text               | YES  |     | NULL                |                |
15 | hash       |               | varchar(255)       | NO   |     |                     |                |
16 | datetime   |               | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
17 | blocked    |               | boolean            | NO   |     | 1                   |                |
18 | ignore     |               | boolean            | NO   |     | 0                   |                |
19
20 Return to [database documentation](help/database)