Update db user_version within transaction
This commit is contained in:
parent
36db532f31
commit
3a631a587f
15 changed files with 32 additions and 30 deletions
|
@ -24,8 +24,8 @@ export function updateToSchemaVersion1140(
|
|||
CREATE INDEX callLinks_deleted
|
||||
ON callLinks (deleted, roomId);
|
||||
`);
|
||||
})();
|
||||
|
||||
db.pragma('user_version = 1140');
|
||||
db.pragma('user_version = 1140');
|
||||
})();
|
||||
logger.info('updateToSchemaVersion1140: success!');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue