Skip to content
Snippets Groups Projects

Kalender Improvements

14 files
+ 304
31
Compare changes
  • Side-by-side
  • Inline

Files

"""Adds lookahead calendar days
Revision ID: 94c0610e845e
Revises: da846db78ff9
Create Date: 2024-05-17 12:06:29.723797
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '94c0610e845e'
down_revision = 'da846db78ff9'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('protocoltypes', sa.Column('calendar_lookahead', sa.Integer(), nullable=True))
op.add_column('protocoltypes', sa.Column('calendar_categories', sa.Text(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('protocoltypes', 'calendar_categories')
op.drop_column('protocoltypes', 'calendar_lookahead')
# ### end Alembic commands ###
Loading