mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
31 lines
537 B
Python
31 lines
537 B
Python
"""empty message
|
|
|
|
Revision ID: 105d4c740ad6
|
|
Revises: 886c92dc6eaa
|
|
Create Date: 2020-12-15 17:28:56.559801
|
|
|
|
"""
|
|
import datetime
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
from sqlalchemy import orm, text
|
|
from app.models import User, UserRank
|
|
|
|
revision = '105d4c740ad6'
|
|
down_revision = '886c92dc6eaa'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
op.execute(text("COMMIT"))
|
|
op.execute(text("ALTER TYPE userrank ADD VALUE 'BOT' AFTER 'EDITOR'"))
|
|
|
|
|
|
def downgrade():
|
|
pass
|