diff --git a/data/migrations/versions/2d9b90e50775_remove_the_legacy_webhooks_table.py b/data/migrations/versions/2d9b90e50775_remove_the_legacy_webhooks_table.py deleted file mode 100644 index 8cac218c8..000000000 --- a/data/migrations/versions/2d9b90e50775_remove_the_legacy_webhooks_table.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Remove the legacy webhooks table - -Revision ID: 2d9b90e50775 -Revises: 47670cbeced -Create Date: 2014-07-31 13:56:10.702609 - -""" - -# revision identifiers, used by Alembic. -revision = '2d9b90e50775' -down_revision = '47670cbeced' - -from alembic import op -import sqlalchemy as sa -from sqlalchemy.dialects import mysql - -def upgrade(): - ### commands auto generated by Alembic - please adjust! ### - op.drop_table('webhook') - ### end Alembic commands ### - - -def downgrade(): - ### commands auto generated by Alembic - please adjust! ### - op.create_table('webhook', - sa.Column('id', mysql.INTEGER(display_width=11), nullable=False), - sa.Column('public_id', mysql.VARCHAR(length=255), nullable=False), - sa.Column('repository_id', mysql.INTEGER(display_width=11), autoincrement=False, nullable=False), - sa.Column('parameters', mysql.LONGTEXT(), nullable=False), - sa.ForeignKeyConstraint(['repository_id'], [u'repository.id'], name=u'fk_webhook_repository_repository_id'), - sa.PrimaryKeyConstraint('id'), - mysql_default_charset=u'latin1', - mysql_engine=u'InnoDB' - ) - ### end Alembic commands ###