Add indexes to support messages foreign key constraints
This commit is contained in:
parent
28664a606f
commit
de0f49ed42
3 changed files with 90 additions and 3 deletions
|
@ -86,10 +86,11 @@ import { updateToSchemaVersion1070 } from './1070-attachment-backup';
|
|||
import { updateToSchemaVersion1080 } from './1080-nondisappearing-addressable';
|
||||
import { updateToSchemaVersion1090 } from './1090-message-delete-indexes';
|
||||
import { updateToSchemaVersion1100 } from './1100-optimize-mark-call-history-read-in-conversation';
|
||||
import { updateToSchemaVersion1110 } from './1110-sticker-local-key';
|
||||
import {
|
||||
updateToSchemaVersion1110,
|
||||
updateToSchemaVersion1120,
|
||||
version as MAX_VERSION,
|
||||
} from './1110-sticker-local-key';
|
||||
} from './1120-messages-foreign-keys-indexes';
|
||||
|
||||
function updateToSchemaVersion1(
|
||||
currentVersion: number,
|
||||
|
@ -2042,9 +2043,9 @@ export const SCHEMA_VERSIONS = [
|
|||
updateToSchemaVersion1070,
|
||||
updateToSchemaVersion1080,
|
||||
updateToSchemaVersion1090,
|
||||
|
||||
updateToSchemaVersion1100,
|
||||
updateToSchemaVersion1110,
|
||||
updateToSchemaVersion1120,
|
||||
];
|
||||
|
||||
export class DBVersionFromFutureError extends Error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue