mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-11 07:42:20 -05:00
20 lines
323 B
Python
20 lines
323 B
Python
"""
|
|
|
|
Revises: 0407_fix_preferred_timezone
|
|
|
|
"""
|
|
from alembic import op
|
|
|
|
down_revision = "0407_fix_preferred_timezone"
|
|
revision = "0408_fix_timezone_again"
|
|
|
|
|
|
def upgrade():
|
|
op.execute(
|
|
"update users set preferred_timezone='US/Eastern' where (preferred_timezone='') is not false"
|
|
)
|
|
|
|
|
|
def downgrade():
|
|
pass
|