Merge pull request #816 from jakedt/phase4-11-07-2015
Drop the v1 checksum column from imagestorage
This commit is contained in:
commit
5c190343c5
1 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
"""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 ###
|
Reference in a new issue