1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-07 15:10:35 +02:00
Mailu/core/admin/migrations/versions/6b8f5e8caaa9_.py
Florent Daigniere 8597bb0ebe add migration
2023-06-23 15:56:51 +02:00

25 lines
466 B
Python

"""Enlarge token.ip
Revision ID: 6b8f5e8caaa9
Revises: 7ac252f2bbbf
Create Date: 2023-06-08 11:35:43.477708
"""
# revision identifiers, used by Alembic.
revision = '6b8f5e8caaa9'
down_revision = '7ac252f2bbbf'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.alter_column('token', 'ip',
existing_type=sa.String(),
type=sa.VARCHAR(length=4096),
existing_nullable=True)
def downgrade():
pass