Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
14 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())