You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-Flask/migrations/versions/3a1d8599c640_.py

33 lines
799 B
Python

"""empty message
Revision ID: 3a1d8599c640
Revises: 70dac20262ef
Create Date: 2025-10-24 15:28:07.476192
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '3a1d8599c640'
down_revision = '70dac20262ef'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('sys_config', schema=None) as batch_op:
batch_op.drop_column('json_value')
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('sys_config', schema=None) as batch_op:
batch_op.add_column(sa.Column('json_value', sa.TEXT(), nullable=True))
# ### end Alembic commands ###