Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117753568
sqlite.sql
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
2 KB
Referenced Files
None
Subscribers
None
sqlite.sql
View Options
/**
* Roundcube Calendar
*
* Plugin to add a calendar to Roundcube.
*
* @version @package_version@
* @author Lazlo Westerhof
* @author Thomas Bruederli
* @author Albert Lee
* @url http://rc-calendar.lazlo.me
* @licence GNU AGPL
* @copyright (c) 2010 Lazlo Westerhof - Netherlands
*
**/
CREATE
TABLE
calendars
(
calendar_id
integer
NOT
NULL
PRIMARY
KEY
,
user_id
integer
NOT
NULL
default
'0'
,
name
varchar
(
255
)
NOT
NULL
default
''
,
color
varchar
(
255
)
NOT
NULL
default
''
,
showalarms
tinyint
(
1
)
NOT
NULL
default
'1'
,
CONSTRAINT
fk_calendars_user_id
FOREIGN
KEY
(
user_id
)
REFERENCES
users
(
user_id
)
);
CREATE
TABLE
events
(
event_id
integer
NOT
NULL
PRIMARY
KEY
,
calendar_id
integer
NOT
NULL
default
'0'
,
recurrence_id
integer
NOT
NULL
default
'0'
,
uid
varchar
(
255
)
NOT
NULL
default
''
,
created
datetime
NOT
NULL
default
'1000-01-01 00:00:00'
,
changed
datetime
NOT
NULL
default
'1000-01-01 00:00:00'
,
sequence
integer
NOT
NULL
default
'0'
,
start
datetime
NOT
NULL
default
'1000-01-01 00:00:00'
,
end
datetime
NOT
NULL
default
'1000-01-01 00:00:00'
,
recurrence
varchar
(
255
)
default
NULL
,
title
varchar
(
255
)
NOT
NULL
,
description
text
NOT
NULL
,
location
varchar
(
255
)
NOT
NULL
default
''
,
categories
varchar
(
255
)
NOT
NULL
default
''
,
all_day
tinyint
(
1
)
NOT
NULL
default
'0'
,
free_busy
tinyint
(
1
)
NOT
NULL
default
'0'
,
priority
tinyint
(
1
)
NOT
NULL
default
'0'
,
sensitivity
tinyint
(
1
)
NOT
NULL
default
'0'
,
alarms
varchar
(
255
)
default
NULL
,
attendees
text
default
NULL
,
notifyat
datetime
default
NULL
,
CONSTRAINT
fk_events_calendar_id
FOREIGN
KEY
(
calendar_id
)
REFERENCES
calendars
(
calendar_id
)
);
CREATE
TABLE
attachments
(
attachment_id
integer
NOT
NULL
PRIMARY
KEY
,
event_id
integer
NOT
NULL
default
'0'
,
filename
varchar
(
255
)
NOT
NULL
default
''
,
mimetype
varchar
(
255
)
NOT
NULL
default
''
,
size
integer
NOT
NULL
default
'0'
,
data
text
NOT
NULL
default
''
,
CONSTRAINT
fk_attachment_event_id
FOREIGN
KEY
(
event_id
)
REFERENCES
events
(
event_id
)
);
CREATE
TABLE
itipinvitations
(
token
varchar
(
64
)
NOT
NULL
PRIMARY
KEY
,
event_uid
varchar
(
255
)
NOT
NULL
,
user_id
integer
NOT
NULL
default
'0'
,
event
text
NOT
NULL
,
expires
datetime
NOT
NULL
default
'1000-01-01 00:00:00'
,
cancelled
tinyint
(
1
)
NOT
NULL
default
'0'
,
CONSTRAINT
fk_itipinvitations_user_id
FOREIGN
KEY
(
user_id
)
REFERENCES
users
(
user_id
)
);
CREATE
INDEX
ix_itipinvitations_uid
ON
itipinvitations
(
user_id
,
event_uid
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 5:40 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822733
Default Alt Text
sqlite.sql (2 KB)
Attached To
Mode
rRPK roundcubemail-plugins-kolab
Attached
Detach File
Event Timeline