improve timezone discovery

This commit is contained in:
Joyce
2026-01-28 14:53:12 -05:00
parent daa0afaa25
commit 880925f30d
23 changed files with 807 additions and 157 deletions

View File

@@ -0,0 +1,29 @@
"""add timezone to participant
Revision ID: 46a2e388b20a
Revises: 001
Create Date: 2026-01-28 18:48:09.141869
"""
from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
revision: str = '46a2e388b20a'
down_revision: Union[str, None] = '001'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('participants', sa.Column('timezone', sa.String(length=50), nullable=False, server_default='UTC'))
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('participants', 'timezone')
# ### end Alembic commands ###