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.
11 lines
353 B
Python
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)
|