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