Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
13 lines (12 sloc) 364 Bytes
from database import Base
from sqlalchemy import Column, Integer, String
from sqlalchemy.types import DateTime
class Signups(Base):
Example Signups table
__tablename__ = 'signups'
id = Column(Integer, primary_key=True)
name = Column(String(256))
email = Column(String(256), unique=True)
date_signed_up = Column(DateTime())