from sqlalchemy import Column, Integer, String

from app.database import Base


class Language(Base):
    __tablename__ = "languages"

    id = Column(Integer, primary_key=True, index=True)
    name = Column(String)
    code = Column(String)

from sqlalchemy import Column, Integer, String

from app.database import Base


class Language(Base):
    __tablename__ = "languages"

    id = Column(Integer, primary_key=True, index=True)
    name = Column(String)
    code = Column(String)
