add availability

This commit is contained in:
2021-07-05 20:16:50 +02:00
parent 61bf24eab2
commit a401c6d4a7
8 changed files with 12 additions and 15 deletions

1
migrations/README Normal file
View File

@ -0,0 +1 @@
Generic single-database configuration.

View File

@ -1,7 +1,3 @@
; SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
;
; SPDX-License-Identifier: AGPL-3.0-or-later
# A generic, single database configuration.
[alembic]

View File

@ -1,7 +1,3 @@
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
from __future__ import with_statement
import logging

View File

@ -1,12 +1,8 @@
# SPDX-FileCopyrightText: WTF Kooperative eG <https://wtf-eg.de/>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
"""Initial migration.
Revision ID: ebb2dd1fb371
Revision ID: 808fe55111df
Revises:
Create Date: 2021-07-02 16:20:18.160228
Create Date: 2021-07-05 20:13:50.560579
"""
from alembic import op
@ -14,7 +10,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ebb2dd1fb371'
revision = '808fe55111df'
down_revision = None
branch_labels = None
depends_on = None
@ -38,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('availability', 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),