Changed and added comments in the database files

This commit is contained in:
2022-11-10 18:45:10 +03:00
parent c2280e8bc2
commit 21bd01c3ed
5 changed files with 12 additions and 4 deletions

View File

@ -7,6 +7,7 @@ from . import models
def change_master_pass(
engine: Engine, user_id: int, salt: bytes, passwd: bytes
) -> None:
"""Changes master password and salt in the database"""
statement = (
sqlmodel.update(models.MasterPass)
.where(models.MasterPass.user_id == user_id)