-
Notifications
You must be signed in to change notification settings - Fork 6
/
message_schema.txt
69 lines (68 loc) · 2.22 KB
/
message_schema.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
This is the iMessage message schema in the chat.db file.
Used to reference other rows you may be interested in.
CREATE TABLE message (
ROWID INTEGER PRIMARY KEY AUTOINCREMENT,
guid TEXT UNIQUE NOT NULL,
text TEXT,
replace INTEGER DEFAULT 0,
service_center TEXT,
handle_id INTEGER DEFAULT 0,
subject TEXT,
country TEXT,
attributedBody BLOB,
version INTEGER DEFAULT 0,
type INTEGER DEFAULT 0,
service TEXT, account TEXT,
account_guid TEXT,
error INTEGER DEFAULT 0,
date INTEGER, date_read INTEGER,
date_delivered INTEGER,
is_delivered INTEGER DEFAULT 0,
is_finished INTEGER DEFAULT 0,
is_emote INTEGER DEFAULT 0,
is_from_me INTEGER DEFAULT 0,
is_empty INTEGER DEFAULT 0,
is_delayed INTEGER DEFAULT 0,
is_auto_reply INTEGER DEFAULT 0,
is_prepared INTEGER DEFAULT 0,
is_read INTEGER DEFAULT 0,
is_system_message INTEGER DEFAULT 0,
is_sent INTEGER DEFAULT 0,
has_dd_results INTEGER DEFAULT 0,
is_service_message INTEGER DEFAULT 0,
is_forward INTEGER DEFAULT 0,
was_downgraded INTEGER DEFAULT 0,
is_archive INTEGER DEFAULT 0,
cache_has_attachments INTEGER DEFAULT 0,
cache_roomnames TEXT,
was_data_detected INTEGER DEFAULT 0,
was_deduplicated INTEGER DEFAULT 0,
is_audio_message INTEGER DEFAULT 0,
is_played INTEGER DEFAULT 0,
date_played INTEGER,
item_type INTEGER DEFAULT 0,
other_handle INTEGER DEFAULT 0,
group_title TEXT,
group_action_type INTEGER DEFAULT 0,
share_status INTEGER DEFAULT 0,
share_direction INTEGER DEFAULT 0,
is_expirable INTEGER DEFAULT 0,
expire_state INTEGER DEFAULT 0,
message_action_type INTEGER DEFAULT 0,
message_source INTEGER DEFAULT 0,
associated_message_guid TEXT,
associated_message_type INTEGER DEFAULT 0,
balloon_bundle_id TEXT,
payload_data BLOB,
expressive_send_style_id TEXT,
associated_message_range_location INTEGER DEFAULT 0,
associated_message_range_length INTEGER DEFAULT 0,
time_expressive_send_played INTEGER,
message_summary_info BLOB,
ck_sync_state INTEGER DEFAULT 0,
ck_record_id TEXT DEFAULT NULL,
ck_record_change_tag TEXT DEFAULT NULL,
destination_caller_id TEXT DEFAULT NULL,
sr_ck_sync_state INTEGER DEFAULT 0,
sr_ck_record_id TEXT DEFAULT NULL,
sr_ck_record_change_tag TEXT DEFAULT NULL );