mirror of
https://github.com/idrainformatica/PecFlow.git
synced 2026-06-16 20:55:41 +02:00
29 lines
561 B
Python
29 lines
561 B
Python
"""Add sent_last_sync_uid to mailboxes – sincronizzazione cartella Sent IMAP
|
||
|
||
Revision ID: 0002
|
||
Revises: 0001
|
||
Create Date: 2026-03-19 09:00:00.000000
|
||
"""
|
||
|
||
from alembic import op
|
||
import sqlalchemy as sa
|
||
|
||
revision = "0002"
|
||
down_revision = "0001"
|
||
branch_labels = None
|
||
depends_on = None
|
||
|
||
|
||
def upgrade() -> None:
|
||
op.execute("""
|
||
ALTER TABLE mailboxes
|
||
ADD COLUMN IF NOT EXISTS sent_last_sync_uid BIGINT
|
||
""")
|
||
|
||
|
||
def downgrade() -> None:
|
||
op.execute("""
|
||
ALTER TABLE mailboxes
|
||
DROP COLUMN IF EXISTS sent_last_sync_uid
|
||
""")
|