Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
3.4 KiB

  1. Table gcontact
  2. ==============
  3. | Field |Description | Type | Null | Key | Default | Extra |
  4. |--------------|------------------------------------|------------------|------|-----|---------------------|----------------|
  5. | id | sequential ID | int(10) unsigned | NO | PRI | NULL | auto_increment |
  6. | name | Name that this contact is known by | varchar(255) | NO | | | |
  7. | nick | Nick- and user name of the contact | varchar(255) | NO | | | |
  8. | url | Link to the contacts profile page | varchar(255) | NO | | | |
  9. | nurl | | varchar(255) | NO | MUL | | |
  10. | photo | Link to the profile photo | varchar(255) | NO | | | |
  11. | connect | | varchar(255) | NO | | | |
  12. | created | | datetime | NO | | 0001-01-01 00:00:00 | |
  13. | updated | | datetime | YES | MUL | 0001-01-01 00:00:00 | |
  14. | last_contact | | datetime | YES | | 0001-01-01 00:00:00 | |
  15. | last_failure | | datetime | YES | | 0001-01-01 00:00:00 | |
  16. | location | | varchar(255) | NO | | | |
  17. | about | | text | NO | | NULL | |
  18. | keywords | puplic keywords (interests) | text | NO | | NULL | |
  19. | gender | | varchar(32) | NO | | | |
  20. | birthday | | varchar(32) | NO | | 0001-01-01 | |
  21. | community | 1 if contact is forum account | tinyint(1) | NO | | 0 | |
  22. | hide | 1 = should be hidden from search | tinyint(1) | NO | | 0 | |
  23. | nsfw | 1 = contact posts nsfw content | tinyint(1) | NO | | 0 | |
  24. | network | social network protocol | varchar(255) | NO | | | |
  25. | addr | | varchar(255) | NO | | | |
  26. | notify | | text | NO | | | |
  27. | alias | | varchar(255) | NO | | | |
  28. | generation | | tinyint(3) | NO | | 0 | |
  29. | server_url | baseurl of the contacts server | varchar(255) | NO | | | |
  30. Return to [database documentation](help/database)