class v4100Updater extends AbstractUpgradeItem {

    private static final Logger LOGGER = Logger.getLogger(v4100Updater.class);

    @Override
    public String getSchemaVersion() {
        return "4.10.0";
    }

    @Override
    public void executeUpgrade(final AlpineQueryManager qm, final Connection connection) throws Exception {
        dropCpeTable(connection);
        authRequiredForInternalReposWithCredentials(connection);
    }

    private static void dropCpeTable(final Connection connection) throws Exception {
        LOGGER.info("Dropping CPE table");
        try (final Statement stmt = connection.createStatement()) {
            stmt.execute("DROP TABLE \"CPE\"");
        }
    }

    private static void authRequiredForInternalReposWithCredentials(final Connection connection) throws Exception {<FILL_FUNCTION_BODY>}

}

        LOGGER.info("Marking internal repositories with credentials as \"requires authentication\"");
        try (final PreparedStatement ps = connection.prepareStatement("""
                UPDATE "REPOSITORY"
                SET "AUTHENTICATIONREQUIRED" = ?
                WHERE "INTERNAL" = ? AND ("USERNAME" IS NOT NULL OR "PASSWORD" IS NOT NULL)
                """)) {
            ps.setBoolean(1, true);
            ps.setBoolean(2, true);
            final long updatedRepositories = ps.executeUpdate();
            if (updatedRepositories == 0) {
                LOGGER.info("No repositories had to be updated");
            } else {
                LOGGER.info("Updated %d repositories".formatted(updatedRepositories));
            }
        }
    
<no_super_class>