mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-10 22:54:45 +08:00
[local-sync] Add index for Thread.id (#4)
This commit is contained in:
parent
587f7787a6
commit
60bca4acb2
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ module.exports = (sequelize, Sequelize) => {
|
|||
participants: buildJSONARRAYColumnOptions('participants'),
|
||||
}, {
|
||||
indexes: [
|
||||
{ fields: ['id'], unique: true },
|
||||
{ fields: ['subject'] },
|
||||
{ fields: ['remoteThreadId'] },
|
||||
],
|
||||
|
|
Loading…
Add table
Reference in a new issue