mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-08 16:43:47 +01:00
Add missing migration
This commit is contained in:
parent
f69fb47d69
commit
d0e1a95d9c
24
migrations/versions/7f166b5218d7_.py
Normal file
24
migrations/versions/7f166b5218d7_.py
Normal file
@ -0,0 +1,24 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 7f166b5218d7
|
||||
Revises: 3f5836a3df5c
|
||||
Create Date: 2020-12-05 00:06:41.466562
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '7f166b5218d7'
|
||||
down_revision = '3f5836a3df5c'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.add_column('user_email_verification', sa.Column('is_password_reset', sa.Boolean(), nullable=False, server_default="false"))
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.drop_column('user_email_verification', 'is_password_reset')
|
Loading…
Reference in New Issue
Block a user