def upgrade(): op.drop_constraint('ictrp_pkey', 'ictrp') op.create_primary_key('ictrp_pkey', 'ictrp', ['main_id'])