from sqlalchemy.orm import relationship
from sqlalchemy import Column, Integer, String, Text, DateTime, Boolean
from app.db.engine import Base
from sqlalchemy.sql import func
from uuid import UUID, uuid4
class User(Base):
__tablename__ = "user"
id = Column(String(30), primary_key=True, default=str(uuid4()))
이래야 해당 키값을 생성할 때, uuid String 으로 적용된다.