Merge branch 'master' of git.maenle.net:raphael/calendarwatch_frontend
This commit is contained in:
commit
1f48689a32
@ -1,8 +1,8 @@
|
||||
"""empty message
|
||||
|
||||
Revision ID: 121eab3835ee
|
||||
Revision ID: 9882522aafa9
|
||||
Revises: e5ef5e4a807b
|
||||
Create Date: 2020-07-17 08:03:36.947158
|
||||
Create Date: 2020-07-25 09:34:07.987380
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
@ -10,7 +10,7 @@ import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '121eab3835ee'
|
||||
revision = '9882522aafa9'
|
||||
down_revision = 'e5ef5e4a807b'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
@ -18,11 +18,13 @@ depends_on = None
|
||||
|
||||
def upgrade():
|
||||
# ### 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 ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### 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 ###
|
Loading…
Reference in New Issue
Block a user