remove reversion

pull/20921/head
GuanMu 10 months ago
parent 4c7e9d0dd4
commit 1d19f7f88a

@ -1,8 +1,8 @@
"""Update Message table outputs column to text and add outputs_dict property
"""Merge multiple heads for database migration
Revision ID: 83f1262d3f22
Revises: 2adcbe1f5dfb
Create Date: 2025-06-03 12:29:08.619582
Revision ID: 75f1de22b8f3
Revises: 83f1262d3f22, 4474872b0ee6
Create Date: 2025-06-11 12:54:20.128554
"""
from alembic import op
@ -11,8 +11,8 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '83f1262d3f22'
down_revision = '2adcbe1f5dfb'
revision = '75f1de22b8f3'
down_revision = '4474872b0ee6'
branch_labels = None
depends_on = None
@ -21,7 +21,6 @@ def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('messages', schema=None) as batch_op:
batch_op.add_column(sa.Column('outputs', sa.Text(), server_default=sa.text("'{}'::text"), nullable=True))
# ### end Alembic commands ###
@ -29,5 +28,4 @@ def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('messages', schema=None) as batch_op:
batch_op.drop_column('outputs')
# ### end Alembic commands ###
Loading…
Cancel
Save