You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
248 B

2 weeks ago
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)