FIX mysql dialect type
@@ -5,11 +5,10 @@ Revises: 58166a4719aa
Create Date: 2022-01-16 02:09:29.582575
"""
-from alembic import op
import sqlalchemy as sa
+from alembic import op
from sqlalchemy.dialects import mysql
-
# revision identifiers, used by Alembic.
revision = "074fa1ed980b"
down_revision = "58166a4719aa"
@@ -25,7 +24,7 @@ def upgrade():
op.alter_column(
"user",
"disabled",
- existing_type=mysql.Boolean(),
+ existing_type=mysql.BOOLEAN(),
nullable=False,
)
# ### end Alembic commands ###
