app/migrations/versions/2022_012415_07b870d7cc86_.py
2022-01-24 15:18:56 +01:00

29 lines
695 B
Python

"""empty message
Revision ID: 07b870d7cc86
Revises: 698424c429e9
Create Date: 2022-01-24 15:00:32.928606
"""
import sqlalchemy_utils
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '07b870d7cc86'
down_revision = '698424c429e9'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('notification', sa.Column('title', sa.String(length=512), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('notification', 'title')
# ### end Alembic commands ###