diff --git a/data/migrations/versions/c91c564aad34_drop_checksum_on_imagestorage.py b/data/migrations/versions/c91c564aad34_drop_checksum_on_imagestorage.py new file mode 100644 index 000000000..d75cc7b32 --- /dev/null +++ b/data/migrations/versions/c91c564aad34_drop_checksum_on_imagestorage.py @@ -0,0 +1,22 @@ +"""Drop checksum on ImageStorage + +Revision ID: c91c564aad34 +Revises: 152bb29a1bb3 +Create Date: 2018-02-21 12:17:52.405644 + +""" + +# revision identifiers, used by Alembic. +revision = 'c91c564aad34' +down_revision = '152bb29a1bb3' + +from alembic import op +import sqlalchemy as sa + + +def upgrade(tables): + op.drop_column('imagestorage', 'checksum') + + +def downgrade(tables): + op.add_column('imagestorage', sa.Column('checksum', sa.String(length=255), nullable=True)) diff --git a/test/data/test.db b/test/data/test.db index 81c56527d..7ad64f419 100644 Binary files a/test/data/test.db and b/test/data/test.db differ