Update db user_version within transaction
This commit is contained in:
parent
36db532f31
commit
3a631a587f
15 changed files with 32 additions and 30 deletions
|
@ -55,9 +55,9 @@ export function updateToSchemaVersion1100(
|
|||
`;
|
||||
|
||||
db.exec(query);
|
||||
})();
|
||||
|
||||
db.pragma('user_version = 1100');
|
||||
db.pragma('user_version = 1100');
|
||||
})();
|
||||
|
||||
logger.info('updateToSchemaVersion1100: success!');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue