sogo/OGoContentStore/sql/README

40 lines
1 KiB
Plaintext
Raw Normal View History

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