Files
sogo/OGoContentStore/sql
Wolfgang Sourdeau ad4fba45dc OGoContentStore/sql/generate-folderinfo-sql-for-users.sh
Monotone-Parent: b7b94acee3398cb1537097806f5a80f257f2a43a
Monotone-Revision: 2d120d90819b42e21a50956a14c0c5d130cfdf09

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-10-31T18:38:53
Monotone-Branch: ca.inverse.sogo
2006-10-31 18:38:53 +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
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