mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-31 10:10:21 +02:00
* doc_sync is refactored * maybe this works * tested to work! * mypy fixes * enabled integration tests * fixed the test * added external group sync * testing should work now * mypy * confluence doc id fix * got group sync working * addressed feedback * renamed some vars and fixed mypy * conf fix? * added wiki handling to confluence connector * test fixes * revert google drive connector * fixed groups * hotfix
31 lines
639 B
Python
31 lines
639 B
Python
"""add-group-sync-time
|
|
|
|
Revision ID: 2daa494a0851
|
|
Revises: c0fd6e4da83a
|
|
Create Date: 2024-11-11 10:57:22.991157
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = "2daa494a0851"
|
|
down_revision = "c0fd6e4da83a"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"connector_credential_pair",
|
|
sa.Column(
|
|
"last_time_external_group_sync",
|
|
sa.DateTime(timezone=True),
|
|
nullable=True,
|
|
),
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("connector_credential_pair", "last_time_external_group_sync")
|