Merge branch 'master' of git.maenle.net:raphael/calendarwatch_frontend

This commit is contained in:
Raphael Maenle 2020-07-25 18:10:04 +02:00
commit 1f48689a32

View File

@ -1,8 +1,8 @@
"""empty message """empty message
Revision ID: 121eab3835ee Revision ID: 9882522aafa9
Revises: e5ef5e4a807b Revises: e5ef5e4a807b
Create Date: 2020-07-17 08:03:36.947158 Create Date: 2020-07-25 09:34:07.987380
""" """
from alembic import op from alembic import op
@ -10,7 +10,7 @@ import sqlalchemy as sa
# revision identifiers, used by Alembic. # revision identifiers, used by Alembic.
revision = '121eab3835ee' revision = '9882522aafa9'
down_revision = 'e5ef5e4a807b' down_revision = 'e5ef5e4a807b'
branch_labels = None branch_labels = None
depends_on = None depends_on = None
@ -18,11 +18,13 @@ depends_on = None
def upgrade(): def upgrade():
# ### commands auto generated by Alembic - please adjust! ### # ### commands auto generated by Alembic - please adjust! ###
op.add_column('device', sa.Column('lastConnection', sa.BigInteger(), nullable=True)) op.add_column('calendar', sa.Column('calendar_type', sa.String(length=32), nullable=True))
op.create_index(op.f('ix_calendar_calendar_type'), 'calendar', ['calendar_type'], unique=False)
# ### end Alembic commands ### # ### end Alembic commands ###
def downgrade(): def downgrade():
# ### commands auto generated by Alembic - please adjust! ### # ### commands auto generated by Alembic - please adjust! ###
op.drop_column('device', 'lastConnection') op.drop_index(op.f('ix_calendar_calendar_type'), table_name='calendar')
op.drop_column('calendar', 'calendar_type')
# ### end Alembic commands ### # ### end Alembic commands ###