This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
from sqlalchemy import BigInteger, Column, Sequence
|
|
from sqlalchemy_utils import EmailType
|
|
|
|
from ereuse_devicehub.resources.model import Thing
|
|
|
|
|
|
class User(Thing):
|
|
id = Column(BigInteger, Sequence('user_seq'), primary_key=True)
|
|
email = Column(EmailType, nullable=False)
|