Skip to content

Commit 78d4c5d

Browse files
committed
updated
1 parent 3e7a63a commit 78d4c5d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class User(Base):
1313
password = Column(String, nullable=False)
1414
photo = Column(String, nullable=True)
1515
verified = Column(Boolean, nullable=False, server_default='False')
16+
verification_code = Column(String, nullable=True, unique=True)
1617
role = Column(String, server_default='user', nullable=False)
1718
created_at = Column(TIMESTAMP(timezone=True),
1819
nullable=False, server_default=text("now()"))

readMe.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
### 1. RESTful API with Python & FastAPI: Access and Refresh Tokens
44

55
[RESTful API with Python & FastAPI: Access and Refresh Tokens](https://codevoweb.com/restful-api-with-python-fastapi-access-and-refresh-tokens)
6+
7+
### 2. RESTful API with Python & FastAPI: Send HTML Emails
8+
9+
[RESTful API with Python & FastAPI: Send HTML Emails](https://codevoweb.com/restful-api-with-python-fastapi-send-html-emails)

0 commit comments

Comments
 (0)