2018-05-28 00:53:55 +02:00
|
|
|
"""empty message
|
|
|
|
|
|
|
|
Revision ID: b254f55eadd2
|
|
|
|
Revises: 4e482c47e519
|
|
|
|
Create Date: 2018-05-27 23:51:11.008936
|
|
|
|
|
|
|
|
"""
|
|
|
|
from alembic import op
|
2023-05-13 18:53:21 +02:00
|
|
|
from sqlalchemy import text
|
2018-05-28 00:53:55 +02:00
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
|
|
revision = 'b254f55eadd2'
|
|
|
|
down_revision = '4e482c47e519'
|
|
|
|
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 'TRUSTED_MEMBER'"))
|
2018-05-28 00:53:55 +02:00
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
|
|
|
|
|
|
def downgrade():
|
|
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
|
|
pass
|
|
|
|
# ### end Alembic commands ###
|