This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/data/migrations/versions/17f11e265e13_add_uuid_field_to_user.py
2014-11-20 14:04:12 -05:00

23 lines
470 B
Python

"""add uuid field to user
Revision ID: 17f11e265e13
Revises: 313d297811c4
Create Date: 2014-11-11 14:32:54.866188
"""
# revision identifiers, used by Alembic.
revision = '17f11e265e13'
down_revision = '313d297811c4'
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql
def upgrade(tables):
op.add_column('user', sa.Column('uuid', sa.String(length=36), nullable=True))
def downgrade(tables):
op.drop_column('user', 'uuid')