mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-14 08:35:29 +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'),
|
participants: buildJSONARRAYColumnOptions('participants'),
|
||||||
}, {
|
}, {
|
||||||
indexes: [
|
indexes: [
|
||||||
|
{ fields: ['id'], unique: true },
|
||||||
{ fields: ['subject'] },
|
{ fields: ['subject'] },
|
||||||
{ fields: ['remoteThreadId'] },
|
{ fields: ['remoteThreadId'] },
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue