]> git.mxchange.org Git - friendica.git/blob - doc/database/db_profile.md
Trailing whitespace removed
[friendica.git] / doc / database / db_profile.md
1 Table profile
2 ===========
3
4 user profiles data
5
6 | Field        | Description                                   | Type               | Null | Key | Default    | Extra          |
7 | ------------ | --------------------------------------------- | ------------------ | ---- | --- | ---------- | -------------- |
8 | id           | sequential ID                                 | int unsigned       | NO   | PRI | NULL       | auto_increment |
9 | uid          | Owner User id                                 | mediumint unsigned | NO   |     | 0          |                |
10 | profile-name | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
11 | is-default   | Deprecated                                    | boolean            | YES  |     | NULL       |                |
12 | hide-friends | Hide friend list from viewers of this profile | boolean            | NO   |     | 0          |                |
13 | name         |                                               | varchar(255)       | NO   |     |            |                |
14 | pdesc        | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
15 | dob          | Day of birth                                  | varchar(32)        | NO   |     | 0000-00-00 |                |
16 | address      |                                               | varchar(255)       | NO   |     |            |                |
17 | locality     |                                               | varchar(255)       | NO   |     |            |                |
18 | region       |                                               | varchar(255)       | NO   |     |            |                |
19 | postal-code  |                                               | varchar(32)        | NO   |     |            |                |
20 | country-name |                                               | varchar(255)       | NO   |     |            |                |
21 | hometown     | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
22 | gender       | Deprecated                                    | varchar(32)        | YES  |     | NULL       |                |
23 | marital      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
24 | with         | Deprecated                                    | text               | YES  |     | NULL       |                |
25 | howlong      | Deprecated                                    | datetime           | YES  |     | NULL       |                |
26 | sexual       | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
27 | politic      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
28 | religion     | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
29 | pub_keywords |                                               | text               | YES  |     | NULL       |                |
30 | prv_keywords |                                               | text               | YES  |     | NULL       |                |
31 | likes        | Deprecated                                    | text               | YES  |     | NULL       |                |
32 | dislikes     | Deprecated                                    | text               | YES  |     | NULL       |                |
33 | about        | Profile description                           | text               | YES  |     | NULL       |                |
34 | summary      | Deprecated                                    | varchar(255)       | YES  |     | NULL       |                |
35 | music        | Deprecated                                    | text               | YES  |     | NULL       |                |
36 | book         | Deprecated                                    | text               | YES  |     | NULL       |                |
37 | tv           | Deprecated                                    | text               | YES  |     | NULL       |                |
38 | film         | Deprecated                                    | text               | YES  |     | NULL       |                |
39 | interest     | Deprecated                                    | text               | YES  |     | NULL       |                |
40 | romance      | Deprecated                                    | text               | YES  |     | NULL       |                |
41 | work         | Deprecated                                    | text               | YES  |     | NULL       |                |
42 | education    | Deprecated                                    | text               | YES  |     | NULL       |                |
43 | contact      | Deprecated                                    | text               | YES  |     | NULL       |                |
44 | homepage     |                                               | varchar(255)       | NO   |     |            |                |
45 | xmpp         |                                               | varchar(255)       | NO   |     |            |                |
46 | photo        |                                               | varchar(255)       | NO   |     |            |                |
47 | thumb        |                                               | varchar(255)       | NO   |     |            |                |
48 | publish      | publish default profile in local directory    | boolean            | NO   |     | 0          |                |
49 | net-publish  | publish profile in global directory           | boolean            | NO   |     | 0          |                |
50
51 Return to [database documentation](help/database)