summaryrefslogtreecommitdiff
path: root/src/db/sqlite3/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sqlite3/db.c')
-rw-r--r--src/db/sqlite3/db.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sqlite3/db.c b/src/db/sqlite3/db.c
index 36981d4..30e74a0 100644
--- a/src/db/sqlite3/db.c
+++ b/src/db/sqlite3/db.c
@@ -40,6 +40,7 @@ int create_tables(const char *path) {
int res;
int i;
+ // Group table - stores groups of entries
sprintf(queries[0],
"CREATE TABLE IF NOT EXISTS 'Group' ("
"'ID' int NOT NULL PRIMARY KEY, "
@@ -48,6 +49,7 @@ int create_tables(const char *path) {
"'Url' varchar(%d) DEFAULT NULL);",
BUF_LEN, BUF_LEN, BUF_LEN);
+ // Entry table - stores individual entries
sprintf(queries[1],
"CREATE TABLE IF NOT EXISTS 'Entry' ("
"'ID' int NOT NULL PRIMARY KEY, "