1.0.1 release #15

Merged
williamp merged 35 commits from testing into master 2023-03-21 18:10:14 +00:00
2 changed files with 29 additions and 0 deletions
Showing only changes of commit 5c26838c50 - Show all commits

View File

@@ -43,3 +43,4 @@ class User(UserMixin, db.Model):
email = db.Column(db.String(100), unique=True) email = db.Column(db.String(100), unique=True)
password = db.Column(db.String(100)) password = db.Column(db.String(100))
realName = db.Column(db.String(1000)) realName = db.Column(db.String(1000))
timezone = db.Column(db.String(20))

View File

@@ -0,0 +1,28 @@
"""empty message
Revision ID: d4e71a6e9479
Revises: bf65c9f77f9f
Create Date: 2022-11-22 05:24:06.596342
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'd4e71a6e9479'
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))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('user', 'timezone')
# ### end Alembic commands ###