Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8413ce1

Browse filesBrowse files
committed
updated
1 parent 4469e5f commit 8413ce1
Copy full SHA for 8413ce1

File tree

2 files changed

+28
-1
lines changed
Filter options

2 files changed

+28
-1
lines changed
+28Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
"""user-entity
2+
3+
Revision ID: fa17ebbe2192
4+
Revises: 15770e820938
5+
Create Date: 2022-08-26 20:18:50.700242
6+
7+
"""
8+
from alembic import op
9+
import sqlalchemy as sa
10+
11+
12+
# revision identifiers, used by Alembic.
13+
revision = 'fa17ebbe2192'
14+
down_revision = '15770e820938'
15+
branch_labels = None
16+
depends_on = None
17+
18+
19+
def upgrade() -> None:
20+
# ### commands auto generated by Alembic - please adjust! ###
21+
pass
22+
# ### end Alembic commands ###
23+
24+
25+
def downgrade() -> None:
26+
# ### commands auto generated by Alembic - please adjust! ###
27+
pass
28+
# ### end Alembic commands ###

‎app/models.py

Copy file name to clipboardExpand all lines: app/models.py
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ 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)
1716
role = Column(String, server_default='user', nullable=False)
1817
created_at = Column(TIMESTAMP(timezone=True),
1918
nullable=False, server_default=text("now()"))

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.