Update db user_version within transaction
This commit is contained in:
parent
36db532f31
commit
3a631a587f
15 changed files with 32 additions and 30 deletions
|
@ -25,9 +25,9 @@ export function updateToSchemaVersion1120(
|
|||
CREATE INDEX mentions_messageId
|
||||
ON mentions(messageId);
|
||||
`);
|
||||
})();
|
||||
|
||||
db.pragma('user_version = 1120');
|
||||
db.pragma('user_version = 1120');
|
||||
})();
|
||||
|
||||
logger.info('updateToSchemaVersion1120: success!');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue