add column inuse to device table

This commit is contained in:
Cayo Puigdefabregas 2020-11-18 19:15:30 +01:00
parent 5adfad8a5e
commit 9f1564a533
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ def upgrade():
schema=f'{get_inv()}'
)
op.add_column('device', sa.Column('inuse', sa.Boolean(), nullable=True), schema=f'{get_inv()}')
def downgrade():
op.drop_table('allocate', schema=f'{get_inv()}')