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