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.
|
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)
|
|
|
|
|