from sqlalchemy import Column, Integer, String from database import Base class User(Base): __tablename__ = "users" username = Column(String(30),index=True,primary_key=True) password = Column(String(100), index=True,nullable=False)