Browse Source

Add migration

master
squeaky otter 6 years ago
parent
commit
221025902d
  1. 26
      migrations/versions/2bc8b522618d_.py

26
migrations/versions/2bc8b522618d_.py

@ -0,0 +1,26 @@
"""Add cache error string
Revision ID: 2bc8b522618d
Revises: 12f0d1e4dc78
Create Date: 2016-02-04 13:22:36.229877
"""
# revision identifiers, used by Alembic.
revision = '2bc8b522618d'
down_revision = '12f0d1e4dc78'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.add_column('part_attachment', sa.Column('cache_error', sa.String(length=255), nullable=True, default=None))
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
op.drop_column('part_attachment', 'cache_error')
### end Alembic commands ###