wrongmove/models/user.py
Viktor Barzin eafbc1ac52
Flatten repo structure: move crawler/ to root, remove vqa/ and immoweb/
The crawler subdirectory was the only active project. Moving it to the
repo root simplifies paths and removes the unnecessary nesting. The
vqa/ and immoweb/ directories were legacy/unused and have been removed.

Updated .drone.yml, .gitignore, .claude/ docs, and skills to reflect
the new flat structure.
2026-02-07 23:01:20 +00:00

11 lines
353 B
Python

from datetime import datetime
from pydantic import EmailStr
from sqlmodel import SQLModel, Field
class User(SQLModel, table=True):
id: int = Field(primary_key=True)
email: EmailStr = Field(index=True, unique=True)
password: str | None = Field(default=None, nullable=True)
created_at: datetime = Field(default_factory=datetime.utcnow)