Files
BellScheduler/app/migrations/versions/d92ccc005d22_.py
William Peebles 8ed6336e20
All checks were successful
continuous-integration/drone/push Build is passing
create settings page, full timezone support
2022-11-23 20:36:38 -05:00

29 lines
682 B
Python

"""empty message
Revision ID: d92ccc005d22
Revises: bf65c9f77f9f
Create Date: 2022-11-23 20:32:41.868230
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'd92ccc005d22'
down_revision = 'bf65c9f77f9f'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('user', sa.Column('timezone', sa.String(length=20), nullable=True, server_default='UTC'))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('user', 'timezone')
# ### end Alembic commands ###