mekasu0124

Untitled

Oct 21st, 2023
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. from database import Base
  2. from sqlalchemy import Column, Integer, String
  3.  
  4.  
  5. class User(Base):
  6.     __tablename__ = "users"
  7.  
  8.     id = Column(Integer, primary_key=True, index=True)
  9.     first_name = Column(String)
  10.     last_name = Column(String)
  11.     email_address = Column(String)
  12.     phone_number = Column(String)
  13.     password = Column(String)
  14.     date_of_birth = Column(String)
  15.  
Advertisement
Add Comment
Please, Sign In to add comment