GPE Database Schemes

Some collection of SQL tables and other data structures used in GPE. Usually there is no need to access this data directly, there are libraries to access each of the databases through an abstract API.

GPE-Contacts

GPE-Contacts currently uses three tables:

1: contacts_config

create table contacts_config (id INTEGER PRIMARY KEY, cgroup INTEGER NOT NULL, cidentifier TEXT NOT NULL, cvalue TEXT)

2: contacts_urn

create table contacts_urn (urn INTEGER PRIMARY KEY, name TEXT, family_name TEXT, company TEXT)

3: contacts

create table contacts (urn INTEGER NOT NULL, tag TEXT NOT NULL, value TEXT NOT NULL)

To access GPE Contacts data you can use the libcontacts database library.

The location of the database in filesystem is ~/.gpe/contacts.

GPE-Todo

GPE-Todo currently uses three tables:

1: todo

2: todo-urn

3: todo_dbinfo

Access to GPE Todo data is provided by the libtododb API.

The location of the database in filesystem is ~/.gpe/todo.

GPE-Calendar

The calendar data for GPE-Calendar is stored in these two tables:

1: calendar

2: events

create index events_enumerate_index on events (start, duration, rend, alarm)

3: calendars

Access to GPE-Calendar data is provided by the libeventdb API.

The location of the database in filesystem is ~/.gpe/calendar.

PIM Categories

The categories are shared within all GPE PIM applications and stored in one single table:

categories

Access to PIM category data is provided by the libgpepimc API.

The location of the database in filesystem is ~/.gpe/categories.

GpeDatabaseScheme (last edited 2006-11-22 01:10:27 by 84)