File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ###
Original file line number Diff line number Diff 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()" ))
You can’t perform that action at this time.
0 commit comments