Browse Source

Add migration

master
Dashie der otter 3 years ago
parent
commit
221025902d
1 changed files with 26 additions and 0 deletions
  1. 26
    0
      migrations/versions/2bc8b522618d_.py

+ 26
- 0
migrations/versions/2bc8b522618d_.py View File

@@ -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 ###