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.

22 lines
2.2 KiB

  1. Table attach
  2. ============
  3. | Field | Description | Type | Null | Key | Default | Extra |
  4. | ---------- | ------------------------------------------------------| ------------ | ---- | --- | ------------------- | --------------- |
  5. | id | generated index | int(11) | NO | PRI | NULL | auto_increment |
  6. | uid | user_id of owner | int(11) | NO | | 0 | |
  7. | hash | hash | varchar(64) | NO | | | |
  8. | filename | filename of original | varchar(255) | NO | | | |
  9. | filetype | mimetype | varchar(64) | NO | | | |
  10. | filesize | size in bytes | int(11) | NO | | 0 | |
  11. | data | file data | longblob | NO | | NULL | |
  12. | created | creation time | datetime | NO | | 0001-01-01 00:00:00 | |
  13. | edited | last edit time | datetime | NO | | 0001-01-01 00:00:00 | |
  14. | allow_cid | Access Control - list of allowed contact.id '<19><78> | mediumtext | NO | | NULL | |
  15. | allow_gid | Access Control - list of allowed groups | mediumtext | NO | | NULL | |
  16. | deny_cid | Access Control - list of denied contact.id | mediumtext | NO | | NULL | |
  17. | deny_gid | Access Control - list of denied groups | mediumtext | NO | | NULL | |
  18. Notes: Permissions are surrounded by angle chars. e.g. <4>
  19. Return to [database documentation](help/database)