diff --git a/CHANGELOG.md b/CHANGELOG.md index 93602dea..81e3870f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ ml). - [addend] #102 adding endpoint for download metrics - [bugfix] #100 fixing bug of scheme live - [bugfix] #101 fixing bug when 2 users have one device and launch one live +- [changes] #114 clean blockchein of deliverynote +- [remove] #114 remove proof system ## [1.0.3-beta] - [addend] #85 add mac of network adapter to device hid diff --git a/ereuse_devicehub/migrations/versions/eca457d8b2a4_change_deliverynote.py b/ereuse_devicehub/migrations/versions/eca457d8b2a4_change_deliverynote.py index 6709ea08..24f4a161 100644 --- a/ereuse_devicehub/migrations/versions/eca457d8b2a4_change_deliverynote.py +++ b/ereuse_devicehub/migrations/versions/eca457d8b2a4_change_deliverynote.py @@ -27,9 +27,9 @@ def get_inv(): def upgrade(): op.drop_column('deliverynote', 'ethereum_address', schema=f'{get_inv()}') - op.alter_column('deliverynote', 'deposit', new_column_name='amount') - op.alter_column('computer', 'deposit', new_column_name='amount') - op.alter_column('lot', 'deposit', new_column_name='amount') + op.alter_column('deliverynote', 'deposit', new_column_name='amount', schema=f'{get_inv()}') + op.alter_column('computer', 'deposit', new_column_name='amount', schema=f'{get_inv()}') + op.alter_column('lot', 'deposit', new_column_name='amount', schema=f'{get_inv()}') op.drop_column('computer', 'deliverynote_address', schema=f'{get_inv()}') op.drop_column('lot', 'deliverynote_address', schema=f'{get_inv()}') op.drop_table('proof_function', schema=f'{get_inv()}') @@ -44,9 +44,9 @@ def upgrade(): def downgrade(): op.add_column('deliverynote', sa.Column('ethereum_address', citext.CIText(), nullable=True), schema=f'{get_inv()}') - op.alter_column('deliverynote', 'amount', new_column_name='deposit') - op.alter_column('computer', 'amount', new_column_name='deposit') - op.alter_column('lot', 'amount', new_column_name='deposit') + op.alter_column('deliverynote', 'amount', new_column_name='deposit', schema=f'{get_inv()}') + op.alter_column('computer', 'amount', new_column_name='deposit', schema=f'{get_inv()}') + op.alter_column('lot', 'amount', new_column_name='deposit', schema=f'{get_inv()}') op.add_column('computer', sa.Column('deliverynote_address', citext.CIText(), nullable=True), schema=f'{get_inv()}') op.add_column('lot', sa.Column('deliverynote_address', citext.CIText(), nullable=True), schema=f'{get_inv()}') op.create_table('proof',