HG_Back / server /models /contact.py
Soumyajit94298's picture
initial
8419546
raw
history blame contribute delete
295 Bytes
from sqlalchemy import Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class Contact(Base):
__tablename__ = "contacts"
id = Column(Integer, primary_key=True, index=True)
email = Column(String, unique=True, index=True)