update database

This commit is contained in:
2025-09-30 22:47:30 +03:00
parent 4ea862f96f
commit 643e637543
9 changed files with 718 additions and 32 deletions

View File

@@ -12,6 +12,7 @@ from .states import ProfileSG
def name_type_factory(text: str):
if not 2 < len(text) < 20:
raise ValueError("Имя должно быть от 2 до 20 символов")
return text
def phone_type_factory(text: str):
if len(re.findall("\d", text)) < 11: