getAllStories: Remove nested queries
This commit is contained in:
parent
a795602e19
commit
95209689a8
5 changed files with 328 additions and 34 deletions
|
@ -88,10 +88,11 @@ 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 { updateToSchemaVersion1120 } from './1120-messages-foreign-keys-indexes';
|
||||
import {
|
||||
updateToSchemaVersion1120,
|
||||
updateToSchemaVersion1130,
|
||||
version as MAX_VERSION,
|
||||
} from './1120-messages-foreign-keys-indexes';
|
||||
} from './1130-isStory-index';
|
||||
|
||||
function updateToSchemaVersion1(
|
||||
currentVersion: number,
|
||||
|
@ -2044,9 +2045,11 @@ export const SCHEMA_VERSIONS = [
|
|||
updateToSchemaVersion1070,
|
||||
updateToSchemaVersion1080,
|
||||
updateToSchemaVersion1090,
|
||||
|
||||
updateToSchemaVersion1100,
|
||||
updateToSchemaVersion1110,
|
||||
updateToSchemaVersion1120,
|
||||
updateToSchemaVersion1130,
|
||||
];
|
||||
|
||||
export class DBVersionFromFutureError extends Error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue