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/437ee6269a9d_migrate_bitbucket_services_to_webhooks.py
Joseph Schorr c3f269ee23 Add migration for BitBucket web hooks
This needs to added only *after* we roll out #255
2015-07-23 14:45:12 -04:00

24 lines
437 B
Python

"""Migrate BitBucket services to webhooks
Revision ID: 437ee6269a9d
Revises: 154f2befdfbe
Create Date: 2015-07-21 14:03:44.964200
"""
from util.migratebitbucketservices import run_bitbucket_migration
# revision identifiers, used by Alembic.
revision = '437ee6269a9d'
down_revision = '2e09ad97b06c'
from alembic import op
import sqlalchemy as sa
def upgrade(tables):
run_bitbucket_migration()
def downgrade(tables):
pass