This file is indexed.

/usr/share/geary/sql/version-024.sql is in geary 0.12.0-1ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--
-- Add the DeleteAttachmentFile table, which allows for attachment files to be deleted (garbage
-- collected) after all references to them have been removed from the database without worrying
-- about deleting them first and the database transaction failing.
--
-- Also add GarbageCollectionTable, a single-row table holding various information about when
-- GC has occurred and when it should occur next.
--

CREATE TABLE DeleteAttachmentFileTable (
    id INTEGER PRIMARY KEY,
    filename TEXT NOT NULL
);

CREATE TABLE GarbageCollectionTable (
    id INTEGER PRIMARY KEY,
    last_reap_time_t INTEGER DEFAULT NULL,
    last_vacuum_time_t INTEGER DEFAULT NULL,
    reaped_messages_since_last_vacuum INTEGER DEFAULT 0
);

-- Insert a single row with a well-known rowid and default values, this will be the row used
-- by the ImapDB.GC class.
INSERT INTO GarbageCollectionTable (id) VALUES (0);