Files
sogo/OGoContentStore/sql
Wolfgang Sourdeau aed07d8fb4 Monotone-Parent: 712040e55618bec7c04be7fc95173aadc966c25b
Monotone-Revision: c443c4725dc53c9efb233042a3e2a3a33ff9b294

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-02-08T19:00:01
Monotone-Branch: ca.inverse.sogo
2007-02-08 19:00:01 +00:00
..
2006-06-15 19:34:10 +00:00
2006-06-15 19:34:10 +00:00
2006-06-15 19:34:10 +00:00

Files
=====

appointment-create.psql
- this is a template for creating appointment quick/blob tables
- not used by code atm

folderinfo-create.psql
- create folder info table (folder registry table)
- insert some folders per default:
  - /Users
  - /Users/helge
  - /Users/helge/Calendar

foldertablecreate-root.psql
- insert "/" and "/Users" parent folders (without storage, quick and type)

foldertablecreate-helge-privcal.psql
- create a quick and content table for 'helge/Calendar' folder

register-agenor-helge-privcal.psql
- register folder "/Users/helge/Calendar" folder in the registry table with
  a link to the proper quick and content tables

testapt-agenor-helge-privcal.psql
- insert a raw iCalendar test appointment in the /Users/helge/Calendar
  folder quick and content tables


Notes
=====

Listing the folders of a certain user:

  sqlite> SELECT c_path FROM SOGo_folder_info \
          WHERE c_path2 = 'test.et.di.cete-lyon';
  /Users/test.et.di.cete-lyon
  /Users/test.et.di.cete-lyon/Calendar
  /Users/test.et.di.cete-lyon/Contacts