ошибка на стадии развертывания, не увидел свой косяк)

main Начало
Сергей Ванюшкин 2023-10-08 19:30:23 +03:00
parent 2c89cee7ac
commit 7d70c38fb8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def create_superuser(name):
super_user_role = check_role("superuser")
if super_user_role is None:
Role(name="superuser")
super_user_role = Role(name="superuser")
db.session.add(super_user_role)
db.session.commit()