mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-16 01:35:41 +00:00
31 lines
860 B
Python
31 lines
860 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 10a92d8f4616
|
||
|
Revises: 4638e6509e13
|
||
|
Create Date: 2020-05-12 11:24:46.022674
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '10a92d8f4616'
|
||
|
down_revision = '4638e6509e13'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('notifications_data', sa.Column('notified_on', sa.String(length=16), nullable=True))
|
||
|
op.drop_column('notifications_data', 'notified')
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('notifications_data', sa.Column('notified', sa.BOOLEAN(), autoincrement=False, nullable=True))
|
||
|
op.drop_column('notifications_data', 'notified_on')
|
||
|
# ### end Alembic commands ###
|