create settings page, full timezone support
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-23 20:36:38 -05:00
parent 5c26838c50
commit 8ed6336e20
8 changed files with 58 additions and 10 deletions

View File

@@ -0,0 +1,28 @@
"""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 ###