29 lines
660 B
Python
29 lines
660 B
Python
"""empty message
|
|
|
|
Revision ID: e5ef5e4a807b
|
|
Revises: 1e8205594ac1
|
|
Create Date: 2020-05-28 09:01:09.268270
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'e5ef5e4a807b'
|
|
down_revision = '1e8205594ac1'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('device', sa.Column('connection', sa.Boolean(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('device', 'connection')
|
|
# ### end Alembic commands ###
|