contentdb/migrations/versions/7a48dbd05780_.py

24 lines
500 B
Python
Raw Normal View History

2020-01-25 00:19:06 +01:00
"""empty message
Revision ID: 7a48dbd05780
Revises: df66c78e6791
Create Date: 2020-01-24 21:52:49.744404
"""
import sqlalchemy as sa
2020-12-04 03:23:04 +01:00
from alembic import op
2020-01-25 00:19:06 +01:00
# revision identifiers, used by Alembic.
revision = '7a48dbd05780'
down_revision = 'df66c78e6791'
branch_labels = None
depends_on = None
def upgrade():
op.add_column('user', sa.Column('github_access_token', sa.String(length=50), nullable=True, server_default=None))
def downgrade():
op.drop_column('user', 'github_access_token')