add profile visible flag

This commit is contained in:
2021-07-02 16:26:36 +02:00
parent 3b6225f621
commit 9f4795b9f1
4 changed files with 11 additions and 4 deletions

View File

@ -1,8 +1,8 @@
"""Initial migration.
Revision ID: f95308aceda1
Revision ID: ebb2dd1fb371
Revises:
Create Date: 2021-06-20 19:11:47.086814
Create Date: 2021-07-02 16:20:18.160228
"""
from alembic import op
@ -10,7 +10,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'f95308aceda1'
revision = 'ebb2dd1fb371'
down_revision = None
branch_labels = None
depends_on = None
@ -34,6 +34,7 @@ def upgrade():
sa.Column('pronouns', sa.String(length=25), nullable=True),
sa.Column('volunteerwork', sa.String(length=4000), nullable=True),
sa.Column('freetext', sa.String(length=4000), nullable=True),
sa.Column('visible', sa.Boolean(), nullable=False),
sa.Column('created', sa.DateTime(), nullable=False),
sa.Column('updated', sa.DateTime(), nullable=False),
sa.PrimaryKeyConstraint('id'),