2018-05-26 02:58:56 +02:00
|
|
|
"""empty message
|
|
|
|
|
|
|
|
Revision ID: ea5a023711e0
|
|
|
|
Revises: fa12fadbdb40
|
|
|
|
Create Date: 2018-05-26 01:55:09.745881
|
|
|
|
|
|
|
|
"""
|
|
|
|
from alembic import op
|
2023-05-13 18:53:21 +02:00
|
|
|
from sqlalchemy import text
|
2018-05-26 02:58:56 +02:00
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
|
|
revision = 'ea5a023711e0'
|
|
|
|
down_revision = 'fa12fadbdb40'
|
|
|
|
branch_labels = None
|
|
|
|
depends_on = None
|
|
|
|
|
|
|
|
|
|
|
|
def upgrade():
|
|
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
|
|
conn = op.get_bind()
|
2023-05-13 18:53:21 +02:00
|
|
|
conn.execute(text("ALTER TYPE userrank ADD VALUE 'BANNED'"))
|
2018-05-26 02:58:56 +02:00
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
|
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
|
|
pass
|
|
|
|
# ### end Alembic commands ###
|