|
@ -2,7 +2,7 @@ |
|
|
"formatVersion": 1, |
|
|
"formatVersion": 1, |
|
|
"database": { |
|
|
"database": { |
|
|
"version": 1, |
|
|
"version": 1, |
|
|
"identityHash": "fc698ded287d449f2781e8efa338554d", |
|
|
|
|
|
|
|
|
"identityHash": "6213f410bff60ef85d8608f09052327d", |
|
|
"entities": [ |
|
|
"entities": [ |
|
|
{ |
|
|
{ |
|
|
"tableName": "identity", |
|
|
"tableName": "identity", |
|
@ -301,7 +301,7 @@ |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"tableName": "message", |
|
|
"tableName": "message", |
|
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `account` INTEGER, `folder` INTEGER NOT NULL, `identity` INTEGER, `replying` INTEGER, `uid` INTEGER, `msgid` TEXT, `references` TEXT, `inreplyto` TEXT, `thread` TEXT, `from` TEXT, `to` TEXT, `cc` TEXT, `bcc` TEXT, `reply` TEXT, `subject` TEXT, `body` TEXT, `sent` INTEGER, `received` INTEGER NOT NULL, `seen` INTEGER NOT NULL, `ui_seen` INTEGER NOT NULL, `ui_hide` INTEGER NOT NULL, `error` TEXT, FOREIGN KEY(`account`) REFERENCES `account`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`folder`) REFERENCES `folder`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`identity`) REFERENCES `identity`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`replying`) REFERENCES `message`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )", |
|
|
|
|
|
|
|
|
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `account` INTEGER, `folder` INTEGER NOT NULL, `identity` INTEGER, `replying` INTEGER, `uid` INTEGER, `msgid` TEXT, `references` TEXT, `inreplyto` TEXT, `thread` TEXT, `from` TEXT, `to` TEXT, `cc` TEXT, `bcc` TEXT, `reply` TEXT, `subject` TEXT, `body` TEXT, `sent` INTEGER, `received` INTEGER NOT NULL, `stored` INTEGER NOT NULL, `seen` INTEGER NOT NULL, `ui_seen` INTEGER NOT NULL, `ui_hide` INTEGER NOT NULL, `error` TEXT, FOREIGN KEY(`account`) REFERENCES `account`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`folder`) REFERENCES `folder`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`identity`) REFERENCES `identity`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE , FOREIGN KEY(`replying`) REFERENCES `message`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )", |
|
|
"fields": [ |
|
|
"fields": [ |
|
|
{ |
|
|
{ |
|
|
"fieldPath": "id", |
|
|
"fieldPath": "id", |
|
@ -417,6 +417,12 @@ |
|
|
"affinity": "INTEGER", |
|
|
"affinity": "INTEGER", |
|
|
"notNull": true |
|
|
"notNull": true |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"fieldPath": "stored", |
|
|
|
|
|
"columnName": "stored", |
|
|
|
|
|
"affinity": "INTEGER", |
|
|
|
|
|
"notNull": true |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"fieldPath": "seen", |
|
|
"fieldPath": "seen", |
|
|
"columnName": "seen", |
|
|
"columnName": "seen", |
|
@ -764,7 +770,7 @@ |
|
|
], |
|
|
], |
|
|
"setupQueries": [ |
|
|
"setupQueries": [ |
|
|
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", |
|
|
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", |
|
|
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"fc698ded287d449f2781e8efa338554d\")" |
|
|
|
|
|
|
|
|
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"6213f410bff60ef85d8608f09052327d\")" |
|
|
] |
|
|
] |
|
|
} |
|
|
} |
|
|
} |
|
|
} |