Skip to content

Instantly share code, notes, and snippets.

View sanblchsun's full-sized avatar

Александр sanblchsun

View GitHub Profile
=== FILE НАЧАЛО ПРОЕКТА SYSDM ===
=== FILE МОДЕЛИ ===
=== FILE app/models/user.py ===
from sqlalchemy import Boolean, Column, Integer, String
from sqlalchemy.orm import relationship
from app.database import Base
class User(Base):
__tablename__ = "users"