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