forked from kompetenzinventar/ki-backend
add availability
This commit is contained in:
1
migrations/README
Normal file
1
migrations/README
Normal file
@ -0,0 +1 @@
|
||||
Generic single-database configuration.
|
@ -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]
|
||||
|
@ -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
|
||||
|
@ -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),
|
Reference in New Issue
Block a user