Revert "Drop the v1 checksum column from imagestorage"

This reverts commit d292a34343.
This commit is contained in:
Jake Moshenko 2015-11-11 16:39:46 -05:00
parent 7efa6265bf
commit 1d7be74a1f

View file

@ -1,25 +0,0 @@
"""Drop v1 checksums from imagestorage
Revision ID: b0e4a7dd82e
Revises: 22af01f81722
Create Date: 2015-11-06 16:45:31.517503
"""
# revision identifiers, used by Alembic.
revision = 'b0e4a7dd82e'
down_revision = '22af01f81722'
from alembic import op
import sqlalchemy as sa
def upgrade(tables):
### commands auto generated by Alembic - please adjust! ###
op.drop_column('imagestorage', 'checksum')
### end Alembic commands ###
def downgrade(tables):
### commands auto generated by Alembic - please adjust! ###
op.add_column('imagestorage', sa.Column('checksum', sa.String(length=255), nullable=True))
### end Alembic commands ###