migration nullable chassis

This commit is contained in:
Cayo Puigdefabregas 2020-12-16 12:06:19 +01:00
parent 349170aa99
commit b1c141e02b
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ def get_inv():
return INV
def upgrade():
op.alter_column('{get_inv()}.computer', 'chassis', nullable=True)
op.alter_column('computer', 'chassis', nullable=True, schema=f'{get_inv()}')
# pass