def downgrade(): table_prefix = context.config.get_main_option('table_prefix') op.drop_column(table_prefix + 'repos', 'manage_master')