mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-29 11:12:02 +01:00
26 lines
535 B
Python
26 lines
535 B
Python
"""Add full exception stack trace
|
|
|
|
Revision ID: 8987770549c0
|
|
Revises: ec3ec2eabf7b
|
|
Create Date: 2024-02-10 19:31:28.339135
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = "8987770549c0"
|
|
down_revision = "ec3ec2eabf7b"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"index_attempt", sa.Column("full_exception_trace", sa.Text(), nullable=True)
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("index_attempt", "full_exception_trace")
|