]> git.mxchange.org Git - friendica.git/blob - doc/database/db_event.md
72cec001289f01834c0fa3601415807d8a4ca3b6
[friendica.git] / doc / database / db_event.md
1 Table event
2 ===========
3
4 Events
5
6 | Field     | Description                                            | Type               | Null | Key | Default             | Extra          |
7 | --------- | ------------------------------------------------------ | ------------------ | ---- | --- | ------------------- | -------------- |
8 | id        | sequential ID                                          | int unsigned       | NO   | PRI | NULL                | auto_increment |
9 | guid      |                                                        | varchar(255)       | NO   |     |                     |                |
10 | uid       | Owner User id                                          | mediumint unsigned | NO   |     | 0                   |                |
11 | cid       | contact_id (ID of the contact in contact table)        | int unsigned       | NO   |     | 0                   |                |
12 | uri       |                                                        | varchar(255)       | NO   |     |                     |                |
13 | created   | creation time                                          | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
14 | edited    | last edit time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
15 | start     | event start time                                       | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
16 | finish    | event end time                                         | datetime           | NO   |     | 0001-01-01 00:00:00 |                |
17 | summary   | short description or title of the event                | text               | YES  |     | NULL                |                |
18 | desc      | event description                                      | text               | YES  |     | NULL                |                |
19 | location  | event location                                         | text               | YES  |     | NULL                |                |
20 | type      | event or birthday                                      | varchar(20)        | NO   |     |                     |                |
21 | nofinish  | if event does have no end this is 1                    | boolean            | NO   |     | 0                   |                |
22 | adjust    | adjust to timezone of the recipient (0 or 1)           | boolean            | NO   |     | 1                   |                |
23 | ignore    | 0 or 1                                                 | boolean            | NO   |     | 0                   |                |
24 | allow_cid | Access Control - list of allowed contact.id '<19><78>' | mediumtext         | YES  |     | NULL                |                |
25 | allow_gid | Access Control - list of allowed groups                | mediumtext         | YES  |     | NULL                |                |
26 | deny_cid  | Access Control - list of denied contact.id             | mediumtext         | YES  |     | NULL                |                |
27 | deny_gid  | Access Control - list of denied groups                 | mediumtext         | YES  |     | NULL                |                |
28
29 Return to [database documentation](help/database)